add users group

This commit is contained in:
ahuston-0 2025-06-01 15:56:44 -04:00
parent 7834c8226a
commit 2853321304
2 changed files with 10 additions and 0 deletions

9
modules/users.nix Normal file
View File

@ -0,0 +1,9 @@
{
...
}:
{
users.groups = {
users = "100";
};
}

View File

@ -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")