add users group

This commit is contained in:
ahuston-0 2025-06-01 15:56:44 -04:00
parent fd1265aa9e
commit e4e6b37110
No known key found for this signature in database
GPG Key ID: 47940175096C1330
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")