diff options
Diffstat (limited to 'modules/by-name/us/users')
-rw-r--r-- | modules/by-name/us/users/module.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/by-name/us/users/module.nix b/modules/by-name/us/users/module.nix index bdffbdc..a197b13 100644 --- a/modules/by-name/us/users/module.nix +++ b/modules/by-name/us/users/module.nix @@ -17,7 +17,7 @@ inherit name uid; isNormalUser = true; home = "/home/${name}"; - initialHashedPassword = password; + hashedPassword = password; extraGroups = [ "wheel" ]; @@ -54,8 +54,8 @@ in { users = { root = { - initialHashedPassword = null; # to lock root - openssh.authorizedKeys.keys = []; + hashedPassword = lib.mkForce null; # to lock root + openssh.authorizedKeys.keys = lib.mkForce []; }; } // extraUsers; |