fix root check
This commit is contained in:
parent
ac72234c97
commit
138565efad
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ in
|
||||||
userConfig
|
userConfig
|
||||||
// {
|
// {
|
||||||
inherit name;
|
inherit name;
|
||||||
isNormalUser = lib.mkIf name != "root" 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