From f21d76a85917d3f559604fd0dd1954b09b655ebf Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Thu, 16 May 2024 01:41:09 +0300 Subject: [PATCH] vps1: mailserver: certs fix --- hosts/vps1/services/mailserver.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hosts/vps1/services/mailserver.nix b/hosts/vps1/services/mailserver.nix index dbe3207..9a681f7 100644 --- a/hosts/vps1/services/mailserver.nix +++ b/hosts/vps1/services/mailserver.nix @@ -19,11 +19,6 @@ in certificateScheme = "manual"; certificateFile = "${config.security.acme.certs.${rootDomain}.directory}/fullchain.pem"; keyFile = "${config.security.acme.certs.${rootDomain}.directory}/key.pem"; - security.acme.certs."${rootDomain}".reloadServices = [ - "postfix.service" - "dovecot2.service" - ]; - enableManageSieve = true; indexDir = "/var/lib/dovecot/indices"; @@ -46,4 +41,10 @@ in }; }; }; + + security.acme.certs."${rootDomain}".reloadServices = [ + "postfix.service" + "dovecot2.service" + ]; + }