mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-23 12:01:27 +00:00
Add groups to users
This commit is contained in:
parent
cb6378a970
commit
1a31e32424
|
@ -14,6 +14,7 @@
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
extraGroups = [ "opendkim" ];
|
extraGroups = [ "opendkim" ];
|
||||||
|
group = "selfprivacy-api";
|
||||||
};
|
};
|
||||||
users.groups."selfprivacy-api" = {
|
users.groups."selfprivacy-api" = {
|
||||||
members = [ "selfprivacy-api" ];
|
members = [ "selfprivacy-api" ];
|
||||||
|
|
|
@ -24,6 +24,7 @@ in
|
||||||
users.users.restic = {
|
users.users.restic = {
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
group = "restic";
|
||||||
};
|
};
|
||||||
environment.etc."restic/resticPasswd".text = ''
|
environment.etc."restic/resticPasswd".text = ''
|
||||||
${cfg.resticPassword}
|
${cfg.resticPassword}
|
||||||
|
|
|
@ -39,5 +39,6 @@ in
|
||||||
extraGroups = [ "postgres" ];
|
extraGroups = [ "postgres" ];
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
group = "pleroma";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ in
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
extraGroups = [ "ocserv" "acmerecievers" ];
|
extraGroups = [ "ocserv" "acmerecievers" ];
|
||||||
|
group = "ocserv";
|
||||||
};
|
};
|
||||||
services.ocserv = {
|
services.ocserv = {
|
||||||
enable = config.services.userdata.ocserv.enable;
|
enable = config.services.userdata.ocserv.enable;
|
||||||
|
|
Loading…
Reference in a new issue