{ config, ... }: let domain = "mail.${config.networking.domain}"; in { imports = [ ./postfix.nix ./dovecot2.nix ./rspamd.nix ]; # acquire certificates services.caddy.virtualHosts."${domain}".extraConfig = ""; }