infrastructure/config/services/roundcube/default.nix
2021-09-04 19:34:44 +01:00

12 lines
302 B
Nix

{ config, ... }: {
services.roundcube = {
enable = true;
hostName = "mail.${config.network.dns.domain}";
};
deploy.tf.dns.records.services_roundcube = {
inherit (config.network.dns) zone;
domain = "mail";
cname = { inherit (config.network.addresses.public) target; };
};
}