fix root check

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-03-19 12:42:05 -05:00
parent ec8b7fc027
commit 88361adedc

View file

@ -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 =