nixos-config/config/services/acme.nix

29 lines
729 B
Nix
Raw Normal View History

2022-06-12 15:42:42 +00:00
_: {
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-06-12 15:39:15 +00:00
extraDomainNames = ["darkkirb.de"];
2022-01-14 16:44:25 +00:00
};
certs."chir.rs" = {
domain = "*.chir.rs";
2022-06-12 15:39:15 +00:00
extraDomainNames = ["chir.rs"];
2022-01-14 16:44:25 +00:00
};
certs."int.chir.rs" = {
domain = "*.int.chir.rs";
};
certs."miifox.net" = {
dnsProvider = "cloudflare";
credentialsFile = "/run/secrets/security/acme/cloudflare";
dnsResolver = "1.1.1.1:53";
};
2022-01-14 16:44:25 +00:00
};
2022-06-12 15:39:15 +00:00
sops.secrets."security/acme/dns" = {};
sops.secrets."security/acme/cloudflare" = {};
2022-01-14 16:44:25 +00:00
}