diff --git a/config/services/acme.nix b/config/services/acme.nix index 8959dbfd..18f9e42a 100644 --- a/config/services/acme.nix +++ b/config/services/acme.nix @@ -1,23 +1,21 @@ { ... }: { security.acme = { acceptTerms = true; - email = "lotte@chir.rs"; + defaults = { + email = "lotte@chir.rs"; + dnsProvider = "rfc2136"; + credentialsFile = "/run/secrets/security/acme/dns"; + }; certs."darkkirb.de" = { domain = "*.darkkirb.de"; extraDomainNames = [ "darkkirb.de" ]; - dnsProvider = "rfc2136"; - credentialsFile = "/run/secrets/security/acme/dns"; }; certs."chir.rs" = { domain = "*.chir.rs"; extraDomainNames = [ "chir.rs" ]; - dnsProvider = "rfc2136"; - credentialsFile = "/run/secrets/security/acme/dns"; }; certs."int.chir.rs" = { domain = "*.int.chir.rs"; - dnsProvider = "rfc2136"; - credentialsFile = "/run/secrets/security/acme/dns"; }; }; }