add users group
This commit is contained in:
parent
fd1265aa9e
commit
e4e6b37110
9
modules/users.nix
Normal file
9
modules/users.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
users.groups = {
|
||||
users = "100";
|
||||
};
|
||||
}
|
@ -14,6 +14,7 @@
|
||||
hashedPasswordFile = config.sops.secrets."${name}/user-password".path or null;
|
||||
openssh.authorizedKeys.keys = publicKeys;
|
||||
extraGroups = [
|
||||
"users"
|
||||
"wheel"
|
||||
"media"
|
||||
(lib.mkIf config.networking.networkmanager.enable "networkmanager")
|
||||
|
Loading…
x
Reference in New Issue
Block a user