rice/hosts/ami/acme.nix
buffet bef8ae90fd
All checks were successful
/ check (pull_request) Successful in 2m21s
fix: include .kitchen in the extraDomainNames
2024-05-25 21:04:29 +02:00

15 lines
398 B
Nix

{config, ...}: {
age.secrets.hetzner-dns.file = ../../secrets/hetzner-dns.age;
security.acme = {
acceptTerms = true;
defaults.email = "acme@buffet.sh";
certs."buffet.sh" = {
domain = "*.buffet.sh";
extraDomainNames = ["*.buffets.kitchen"];
group = "nginx";
dnsProvider = "hetzner";
credentialsFile = config.age.secrets.hetzner-dns.path;
};
};
}