nixos-config/config/services/acme.nix

23 lines
516 B
Nix
Raw Normal View History

2022-01-14 16:44:25 +00:00
{ ... }: {
security.acme = {
acceptTerms = true;
2022-01-14 17:03:14 +00:00
defaults = {
email = "lotte@chir.rs";
dnsProvider = "rfc2136";
credentialsFile = "/run/secrets/security/acme/dns";
};
2022-01-14 16:44:25 +00:00
certs."darkkirb.de" = {
domain = "*.darkkirb.de";
2022-01-14 16:45:35 +00:00
extraDomainNames = [ "darkkirb.de" ];
2022-01-14 16:44:25 +00:00
};
certs."chir.rs" = {
domain = "*.chir.rs";
2022-01-14 16:45:35 +00:00
extraDomainNames = [ "chir.rs" ];
2022-01-14 16:44:25 +00:00
};
certs."int.chir.rs" = {
domain = "*.int.chir.rs";
};
};
services.nginx.group = "acme";
2022-01-14 16:44:25 +00:00
}