depot/cluster/services/mail/certificate.nix

14 lines
257 B
Nix
Raw Permalink Normal View History

2024-07-02 17:47:48 +03:00
{ depot, lib, ... }:
{
2024-07-02 17:47:48 +03:00
security.acme.certs."mail.${depot.lib.meta.domain}" = {
dnsProvider = "exec";
webroot = lib.mkForce null;
extraDomainNames = map (x: "${x}.${depot.lib.meta.domain}") [
"mx"
"imap"
"smtp"
];
2021-10-16 21:22:48 +03:00
};
}