update to nixos-20.09

This commit is contained in:
Daniel Frank 2020-10-19 20:48:27 +02:00
parent 1794488a6e
commit 0517d82dd5
Signed by: tokudan
GPG key ID: 063CCCAD04182D32
2 changed files with 0 additions and 3 deletions

View file

@ -119,9 +119,7 @@ in
security = lib.mkIf config.variables.useSSL { security = lib.mkIf config.variables.useSSL {
acme.certs."dovecot2.${config.variables.myFQDN}" = { acme.certs."dovecot2.${config.variables.myFQDN}" = {
domain = "${config.variables.myFQDN}"; domain = "${config.variables.myFQDN}";
user = config.services.nginx.user;
group = config.services.dovecot2.group; group = config.services.dovecot2.group;
allowKeysForGroup = true;
postRun = "systemctl restart dovecot2.service"; postRun = "systemctl restart dovecot2.service";
# cheat by getting the webroot from another certificate configured through nginx. # cheat by getting the webroot from another certificate configured through nginx.
webroot = config.security.acme.certs."${config.variables.myFQDN}".webroot; webroot = config.security.acme.certs."${config.variables.myFQDN}".webroot;

View file

@ -38,7 +38,6 @@ in
acme.certs."postfix.${config.variables.myFQDN}" = { acme.certs."postfix.${config.variables.myFQDN}" = {
domain = "${config.variables.myFQDN}"; domain = "${config.variables.myFQDN}";
group = config.services.postfix.group; group = config.services.postfix.group;
allowKeysForGroup = true;
postRun = "systemctl restart postfix.service"; postRun = "systemctl restart postfix.service";
# cheat by getting some settings from another certificate configured through nginx. # cheat by getting some settings from another certificate configured through nginx.
user = config.security.acme.certs."${config.variables.myFQDN}".user; user = config.security.acme.certs."${config.variables.myFQDN}".user;