infra/config/acme.nix
2023-07-03 03:46:06 +02:00

13 lines
307 B
Nix

{config, ...}: {
security.acme = {
acceptTerms = true;
defaults.email = "hey@winston.sh";
certs."winston.sh" = {
extraDomainNames = [
"*.winston.sh"
];
dnsProvider = "porkbun";
credentialsFile = config.age.secrets."lego/porkbun-credentials".path;
};
};
}