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 = {
|
||||
# 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}";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue