2023-03-05 22:02:49 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
|
|
|
|
defaults = {
|
2023-03-05 22:28:42 +00:00
|
|
|
email = "acme@kempkens.io";
|
2023-03-05 22:54:42 +00:00
|
|
|
group = "nginx";
|
2023-03-05 22:02:49 +00:00
|
|
|
dnsProvider = "cloudflare";
|
|
|
|
credentialsFile = config.age.secrets.acme-credentials.path;
|
|
|
|
dnsResolver = "1.1.1.1:53";
|
|
|
|
dnsPropagationCheck = true;
|
|
|
|
};
|
|
|
|
|
2023-03-05 22:12:10 +00:00
|
|
|
certs = {
|
|
|
|
"daniel.sx" = {
|
|
|
|
domain = "*.daniel.sx";
|
|
|
|
};
|
2023-03-05 22:02:49 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|