From b699e795ae4fd6d5efe6cbaf23b06edc45a8fa51 Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 10 Sep 2023 15:24:35 +0200 Subject: [PATCH] Update acme config and remove secretPath reference. --- services/acme.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/acme.nix b/services/acme.nix index d7016d8..34d53a7 100644 --- a/services/acme.nix +++ b/services/acme.nix @@ -9,8 +9,6 @@ in mkIf (elem "acme" cfg.services) { security.acme = { # see https://letsencrypt.org/repository/ acceptTerms = true; - email = fn.fileContentsOr - (toPath "${cfg.secretPath}/acme.mailAddr") - "${(elemAt cfg.mailAccounts 0).name}@${cfg.domain}"; + defaults.email = "${(elemAt cfg.mailAccounts 0).name}@${cfg.domain}"; }; }