From 149b58ce0978f562d78d27670b26a0be4f2c9478 Mon Sep 17 00:00:00 2001 From: daragh Date: Sat, 15 Jun 2024 14:42:36 +0100 Subject: [PATCH] use cfg variables --- applications/email.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/email.nix b/applications/email.nix index 0d13325..008828e 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -299,7 +299,7 @@ in { { record = "${cfg.domain}."; r_type = "TXT"; - value = ''"v=spf1 include:mail.skynet.ie include:skynet.ie ip4:${config.services.skynet.host.ip} -all"''; + value = ''"v=spf1 include:${cfg.sub}.${cfg.domain} include:${cfg.domain} ip4:${config.services.skynet.host.ip} -all"''; } # DKIM keys