From 0517d82dd5f4719d736bd8286d641c23ee5e41aa Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Mon, 19 Oct 2020 20:48:27 +0200 Subject: [PATCH] update to nixos-20.09 --- dovecot.nix | 2 -- postfix.nix | 1 - 2 files changed, 3 deletions(-) diff --git a/dovecot.nix b/dovecot.nix index 97c1e13..e004db7 100644 --- a/dovecot.nix +++ b/dovecot.nix @@ -119,9 +119,7 @@ in security = lib.mkIf config.variables.useSSL { acme.certs."dovecot2.${config.variables.myFQDN}" = { domain = "${config.variables.myFQDN}"; - user = config.services.nginx.user; group = config.services.dovecot2.group; - allowKeysForGroup = true; postRun = "systemctl restart dovecot2.service"; # cheat by getting the webroot from another certificate configured through nginx. webroot = config.security.acme.certs."${config.variables.myFQDN}".webroot; diff --git a/postfix.nix b/postfix.nix index 5473c75..5f897e5 100644 --- a/postfix.nix +++ b/postfix.nix @@ -38,7 +38,6 @@ in acme.certs."postfix.${config.variables.myFQDN}" = { domain = "${config.variables.myFQDN}"; group = config.services.postfix.group; - allowKeysForGroup = true; postRun = "systemctl restart postfix.service"; # cheat by getting some settings from another certificate configured through nginx. user = config.security.acme.certs."${config.variables.myFQDN}".user;