31 lines
519 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
{
security.acme = {
acceptTerms = true;
defaults.email = "aliceghuston@gmail.com";
certs."nayeonie.com" = {
dnsProvider = "bunny";
environmentFile = config.sops.secrets."acme/bunny".path;
dnsPropagationCheck = false;
group = "haproxy";
extraDomainNames = [
"*.nayeonie.com"
# "alicehuston.xyz"
# "*.alicehuston.xyz"
];
};
};
sops.secrets = {
"acme/bunny" = {
owner = "root";
};
};
}