allow root in users config
This commit is contained in:
parent
bb9db51e97
commit
ac72234c97
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ in
|
||||||
userConfig
|
userConfig
|
||||||
// {
|
// {
|
||||||
inherit name;
|
inherit name;
|
||||||
isNormalUser = true;
|
isNormalUser = lib.mkIf name != "root" true;
|
||||||
initialPassword =
|
initialPassword =
|
||||||
if (lib.hasAttr "initialPassword" userConfig) then userConfig.initialPassword else "password1";
|
if (lib.hasAttr "initialPassword" userConfig) then userConfig.initialPassword else "password1";
|
||||||
extraGroups =
|
extraGroups =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue