nixos-config/config/services/acme.nix

33 lines
847 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";
};
2022-12-14 17:02:17 +00:00
certs."shitallover.me" = {
domain = "*.shitallover.me";
extraDomainNames = ["shitallover.me"];
};
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
}