22 lines
406 B
Nix
22 lines
406 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
|
|
defaults = {
|
|
email = "acme@kempkens.io";
|
|
group = "nginx";
|
|
dnsProvider = "cloudflare";
|
|
credentialsFile = config.age.secrets.acme-credentials.path;
|
|
dnsResolver = "1.1.1.1:53";
|
|
dnsPropagationCheck = true;
|
|
};
|
|
|
|
certs = {
|
|
"daniel.sx" = {
|
|
domain = "*.daniel.sx";
|
|
};
|
|
};
|
|
};
|
|
}
|