Update acme config and remove secretPath reference.
This commit is contained in:
parent
b5a6498620
commit
b699e795ae
1 changed files with 1 additions and 3 deletions
|
@ -9,8 +9,6 @@ in mkIf (elem "acme" cfg.services) {
|
||||||
security.acme = {
|
security.acme = {
|
||||||
# see https://letsencrypt.org/repository/
|
# see https://letsencrypt.org/repository/
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
email = fn.fileContentsOr
|
defaults.email = "${(elemAt cfg.mailAccounts 0).name}@${cfg.domain}";
|
||||||
(toPath "${cfg.secretPath}/acme.mailAddr")
|
|
||||||
"${(elemAt cfg.mailAccounts 0).name}@${cfg.domain}";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue