allow root in users config

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-03-19 12:20:58 -05:00
parent bb9db51e97
commit ac72234c97

View file

@ -43,7 +43,7 @@ in
userConfig
// {
inherit name;
isNormalUser = true;
isNormalUser = lib.mkIf name != "root" true;
initialPassword =
if (lib.hasAttr "initialPassword" userConfig) then userConfig.initialPassword else "password1";
extraGroups =