user groups

This commit is contained in:
John Lancaster
2026-03-10 23:14:07 -05:00
parent 24c6ac52a7
commit f6d9ba27f0

View File

@@ -8,9 +8,11 @@
users.users."${username}" = { users.users."${username}" = {
isNormalUser = true; isNormalUser = true;
home = "/home/${username}"; home = "/home/${username}";
extraGroups = lib.optionals isAdmin [ extraGroups = [
"input" "input"
"networkmanager" "networkmanager"
] ++ lib.optionals isAdmin [
"docker"
"wheel" "wheel"
]; ];
}; };