2024-05-04 10:03:59 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2024-04-01 17:16:35 +00:00
|
|
|
{
|
|
|
|
deployment.keys."root_password_hash" = {
|
|
|
|
keyCommand = [ "pass" "users/root/hashedPassword" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.root = {
|
|
|
|
shell = pkgs.fish;
|
2024-05-04 10:03:59 +00:00
|
|
|
hashedPasswordFile = lib.mkDefault config.deployment.keys."root_password_hash".path;
|
2024-04-01 17:16:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.root = import ./home.nix;
|
|
|
|
}
|