1
0
Fork 0

Update acme config and remove secretPath reference.

This commit is contained in:
Kevin Baensch 2023-09-10 15:24:35 +02:00
parent b5a6498620
commit b699e795ae
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 1 additions and 3 deletions

View File

@ -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}";
};
}