From 02591623c3e5c5758b57a37c95d545e702062443 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 16 Dec 2025 11:53:59 +0100 Subject: [PATCH] feat(mail/acme): adding the acme challenge in 80 port --- services/self_host/mail.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"; + }; }; }