diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 1b29121..283e359 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -17,9 +17,10 @@ in ]; users = { - mutableUsers = false; + mutableUsers = true; extraUsers = { root = { + initialPassword = "1234"; hashedPasswordFile = sopsHashedPasswordFile; }; }; diff --git a/hosts/common/users/sam/default.nix b/hosts/common/users/sam/default.nix index e1da96b..9ca6dcc 100644 --- a/hosts/common/users/sam/default.nix +++ b/hosts/common/users/sam/default.nix @@ -7,9 +7,10 @@ let in { users.users.sam = { - #mutableUsers = false; + mutableUsers = true; isNormalUser = true; shell = pkgs.zsh; # default shell + initialPassword = "nixos"; hashedPasswordFile = sopsHashedPasswordFile; openssh.authorizedKeys.keys = lib.lists.forEach pubKeys (key: builtins.readFile key);