diff --git a/services/self_host/mail.nix b/services/self_host/mail.nix index 5bad778..3bbc01b 100644 --- a/services/self_host/mail.nix +++ b/services/self_host/mail.nix @@ -21,7 +21,9 @@ in group = "vmail"; shell = "/run/current-system/sw/bin/nologin"; }; - users.groups.vmail = { }; + users.groups = { + vmail = {}; + }; systemd.tmpfiles.rules = [ "d /run/dovecot 0755 dovecot dovecot - -" "d /var/lib/postfix 0755 postfix postfix - -" @@ -314,5 +316,8 @@ EOD; enable = true; port = 6381; }; + security.acme.certs."mail.enium.eu" = { + listenHTTP = ":80"; + }; }; }