ahuston-0 7de337ca58
Some checks failed
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (push) Failing after 5m55s
Check flake.lock / Check health of `flake.lock` (push) Successful in 9m43s
Check Nix formatting / Perform Nix format checks (push) Failing after 5m37s
finalize nayeonie.com ACME
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-12-05 00:03:59 -05:00

31 lines
519 B
Nix

{
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";
};
};
}