diff options
author | Shea Levy <shea@shealevy.com> | 2014-02-16 07:33:07 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-02-16 07:33:07 -0500 |
commit | abf901484c67e385a99f9fcdf4f7a2abfe208ba6 (patch) | |
tree | 49e3ab4d0af0be24afac34e26b88741b14d8c9e1 /nixos | |
parent | 7f2a372a3717666fd4cf7aebc61bcd21ddc296d8 (diff) | |
download | nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar.gz nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar.bz2 nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar.lz nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar.xz nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.tar.zst nixlib-abf901484c67e385a99f9fcdf4f7a2abfe208ba6.zip |
Allow directly setting hashedPassword for root
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index a0fd99732bd3..2d9b941a2cae 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -369,7 +369,7 @@ in home = "/root"; shell = cfg.defaultUserShell; group = "root"; - hashedPassword = config.security.initialRootPassword; + hashedPassword = mkDefault config.security.initialRootPassword; }; nobody = { uid = ids.uids.nobody; |