nix-infra/users/root/default.nix

14 lines
300 B
Nix
Raw Normal View History

2024-04-01 17:16:35 +00:00
{ pkgs, lib, ... }:
{
deployment.keys."root_password_hash" = {
keyCommand = [ "pass" "users/root/hashedPassword" ];
};
users.users.root = {
shell = pkgs.fish;
2024-04-07 11:50:21 +00:00
hashedPasswordFile = lib.mkDefault "/run/keys/root_password_hash";
2024-04-01 17:16:35 +00:00
};
home-manager.users.root = import ./home.nix;
}