mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Allow directly setting hashedPassword for root
This commit is contained in:
parent
7f2a372a37
commit
abf901484c
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ in
|
||||||
home = "/root";
|
home = "/root";
|
||||||
shell = cfg.defaultUserShell;
|
shell = cfg.defaultUserShell;
|
||||||
group = "root";
|
group = "root";
|
||||||
hashedPassword = config.security.initialRootPassword;
|
hashedPassword = mkDefault config.security.initialRootPassword;
|
||||||
};
|
};
|
||||||
nobody = {
|
nobody = {
|
||||||
uid = ids.uids.nobody;
|
uid = ids.uids.nobody;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue