manual_inherit

This commit is contained in:
mjallen18
2026-04-05 19:10:23 -05:00
parent a363622659
commit ff469102ea
84 changed files with 248 additions and 329 deletions

View File

@@ -88,7 +88,7 @@ in
config = {
users = {
mutableUsers = cfg.mutableUsers;
inherit (cfg) mutableUsers;
groups.${cfg.group}.gid = lib.mkForce (if cfg.group != "wheel" then cfg.gid else 1);
users = {
root = {
@@ -99,6 +99,7 @@ in
${cfg.name} = {
inherit (cfg)
name
group
uid
linger
packages
@@ -133,7 +134,6 @@ in
]
++ cfg.extraGroups;
group = cfg.group;
home = "/home/${cfg.name}";
isNormalUser = true;
shell = lib.mkForce pkgs.zsh;