fix: move the mailserver dns config to the proper file

This commit is contained in:
silver 2024-07-17 00:52:55 +01:00
parent 1a07781c4d
commit 356ac2e505
Signed by: silver
GPG key ID: 54E2C71918E93B74
2 changed files with 8 additions and 5 deletions

View file

@ -268,6 +268,14 @@ in {
# set up dns record for it
services.skynet.dns.records = [
# core record
{
record = "@";
r_type = "MX";
# the number is the priority in teh case of multiple mailservers
value = "10 mail.${cfg.domain}.";
}
# basic one
{
record = "mail";