fix: wrong certificate for email (#99)

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/99
This commit is contained in:
Inex Code 2024-09-07 07:55:13 +03:00
parent 46bb08581b
commit def1f392fe

View file

@ -75,7 +75,9 @@ lib.mkIf sp.modules.simple-nixos-mailserver.enable
"admin@${sp.domain}" = "${sp.username}@${sp.domain}"; "admin@${sp.domain}" = "${sp.username}@${sp.domain}";
}; };
certificateScheme = "acme"; certificateScheme = "manual";
certificateFile = "/var/lib/acme/root-${cfg.domain}/fullchain.pem";
keyFile = "/var/lib/acme/root-${cfg.domain}/key.pem";
# Enable IMAP and POP3 # Enable IMAP and POP3
enableImap = true; enableImap = true;