nixos/users: set password for root

This commit is contained in:
2026-04-30 17:42:52 -04:00
parent 2407b82625
commit 6f4b856724
+4
View File
@@ -45,6 +45,7 @@ let
};
};
in
lib.recursiveUpdate
(builtins.foldl'
(attrs: user: {
options = lib.recursiveUpdate attrs.options (mkUser user.name attrs.uid (user.options or { }));
@@ -56,3 +57,6 @@ in
}
users
).options
{
users.users.root.initialPassword = "tuxcord";
}