depot/cluster/services/mail/certificate.nix

13 lines
257 B
Nix

{ depot, lib, ... }:
{
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"
];
};
}