Obsolete security.initialPassword

You can now set users.extraUsers.root.initialHashedPassword instead.
This commit is contained in:
Eelco Dolstra
2014-11-03 12:36:56 +01:00
parent f8f787b800
commit f496c3cbe4
5 changed files with 11 additions and 28 deletions
@@ -191,10 +191,5 @@ in
environment.systemPackages = [ pkgs.cryptsetup ];
boot.initrd.supportedFilesystems = [ "unionfs-fuse" ];
# Prevent logging in as root without a password. This doesn't really matter,
# since the only PAM services that allow logging in with a null
# password are local ones that are inaccessible on EC2 machines.
security.initialRootPassword = mkDefault "!";
};
}