Add groups to users

This commit is contained in:
Inex Code 2022-04-20 13:22:16 +03:00
parent cb6378a970
commit 1a31e32424
4 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@
isNormalUser = false;
isSystemUser = true;
extraGroups = [ "opendkim" ];
group = "selfprivacy-api";
};
users.groups."selfprivacy-api" = {
members = [ "selfprivacy-api" ];

View file

@ -24,6 +24,7 @@ in
users.users.restic = {
isNormalUser = false;
isSystemUser = true;
group = "restic";
};
environment.etc."restic/resticPasswd".text = ''
${cfg.resticPassword}

View file

@ -39,5 +39,6 @@ in
extraGroups = [ "postgres" ];
isNormalUser = false;
isSystemUser = true;
group = "pleroma";
};
}

View file

@ -10,6 +10,7 @@ in
isNormalUser = false;
isSystemUser = true;
extraGroups = [ "ocserv" "acmerecievers" ];
group = "ocserv";
};
services.ocserv = {
enable = config.services.userdata.ocserv.enable;