Preserve the compatibility with nixos-22.11

This commit is contained in:
Antoine Eiche 2023-05-30 23:36:53 +02:00
parent 290d00f6db
commit 131c48de9b

View file

@ -30,7 +30,12 @@ let
}; };
services.dnsmasq = { services.dnsmasq = {
enable = true; enable = true;
settings.mx-host = [ "domain1.com,domain1,10" "domain2.com,domain2,10" ]; # Fixme: once nixos-22.11 has 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
'';
}; };
}; };