Preserve the compatibility with nixos-23.05

This commit is contained in:
Antoine Eiche 2023-05-30 23:36:53 +02:00
parent 1bcfcf786b
commit 811389e31b

View File

@ -30,7 +30,12 @@ let
};
services.dnsmasq = {
enable = true;
settings.mx-host = [ "domain1.com,domain1,10" "domain2.com,domain2,10" ];
# Fixme: once nixos-23.05 hhas been removed, could be replaced by
# settings.mx-host = [ "domain1.com,domain1,10" "domain2.com,domain2,10" ];
extraConfig = ''
mx-host=domain1.com,domain1,10
mx-host=domain2.com,domain2,10
'';
};
};