nixos-config/config/services/acme.nix

24 lines
635 B
Nix
Raw Normal View History

2022-01-14 16:44:25 +00:00
{ ... }: {
security.acme = {
acceptTerms = true;
email = "lotte@chir.rs";
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
dnsProvider = "rfc2136";
credentialsFile = "/run/secrets/security/acme/dns";
};
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
dnsProvider = "rfc2136";
credentialsFile = "/run/secrets/security/acme/dns";
};
certs."int.chir.rs" = {
domain = "*.int.chir.rs";
dnsProvider = "rfc2136";
credentialsFile = "/run/secrets/security/acme/dns";
};
};
}