nixos/users-groups: fix mkChangedOptionModule for root password hash
This commit is contained in:
parent
0057be6ebc
commit
23e259cf7d
1 changed files with 2 additions and 2 deletions
|
@ -430,9 +430,9 @@ in {
|
|||
(mkChangedOptionModule
|
||||
[ "security" "initialRootPassword" ]
|
||||
[ "users" "users" "root" "initialHashedPassword" ]
|
||||
(cfg: if cfg.security.initialHashedPassword == "!"
|
||||
(cfg: if cfg.security.initialRootPassword == "!"
|
||||
then null
|
||||
else cfg.security.initialHashedPassword))
|
||||
else cfg.security.initialRootPassword))
|
||||
];
|
||||
|
||||
###### interface
|
||||
|
|
Loading…
Reference in a new issue