diff --git a/services/mail.nix b/services/mail.nix index e8df5ead..9db28903 100644 --- a/services/mail.nix +++ b/services/mail.nix @@ -3,6 +3,15 @@ { imports = [ sources.nixos-mailserver.outPath ]; + deploy.tf.dns.records.kittywitch_mx = { + tld = "kittywit.ch."; + domain = "@"; + mx = { + priority = 10; + target = "athame.kittywit.ch."; + }; + }; + mailserver = { enable = true; fqdn = "athame.kittywit.ch";