user groups
This commit is contained in:
@@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user