mailserver: set users.groups.acmereceivers.members

This commit is contained in:
Alexander Tomokhov 2023-11-29 08:28:19 +04:00
parent b6cd5846f2
commit 600d8f427d
2 changed files with 3 additions and 3 deletions

View file

@ -3,9 +3,7 @@ let
cfg = config.selfprivacy; cfg = config.selfprivacy;
in in
{ {
users.groups.acmereceivers = { users.groups.acmereceivers.members = [ "nginx" "ocserv" ];
members = [ "nginx" "dovecot2" "postfix" "virtualMail" "ocserv" ];
};
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
defaults = { defaults = {

View file

@ -22,6 +22,8 @@ in
}; };
}; };
users.groups.acmereceivers.members = [ "dovecot2" "postfix" "virtualMail" ];
selfprivacy.modules.simple-nixos-mailserver = selfprivacy.modules.simple-nixos-mailserver =
lib.mkIf sp.modules.simple-nixos-mailserver.enable { lib.mkIf sp.modules.simple-nixos-mailserver.enable {
fqdn = sp.domain; fqdn = sp.domain;