use cfg variables

This commit is contained in:
daragh 2024-06-15 14:42:36 +01:00
parent 1b848029e2
commit 149b58ce09
No known key found for this signature in database

View file

@ -299,7 +299,7 @@ in {
{ {
record = "${cfg.domain}."; record = "${cfg.domain}.";
r_type = "TXT"; 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 # DKIM keys