add a default block in the acme config

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-14 18:03:14 +01:00
parent 459c5f3dbc
commit 601e3c55c1
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -1,23 +1,21 @@
{ ... }: {
security.acme = {
acceptTerms = true;
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";
};
};
}