infra/config/acme.nix

12 lines
295 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;
};
};
}