Drop default acmeRoot

This commit is contained in:
Sandro 2024-04-13 12:42:45 +00:00
parent 79c8cfcd58
commit 9f6635a035

View File

@ -21,7 +21,6 @@ with (import ./common.nix { inherit config; });
let
cfg = config.mailserver;
acmeRoot = "/var/lib/acme/acme-challenge";
in
{
config = lib.mkIf (cfg.enable && (cfg.certificateScheme == "acme" || cfg.certificateScheme == "acme-nginx")) {
@ -32,7 +31,6 @@ in
serverAliases = cfg.certificateDomains;
forceSSL = true;
enableACME = true;
acmeRoot = acmeRoot;
};
};