services.dnsmasq.extraConfig was removed on nixos-unstable

This commit is contained in:
Guillaume Girol 2024-11-23 12:00:00 +00:00
parent 3a082011dc
commit e901c56849

View file

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