tests: use `services.dnsmasq.settings`

Gets rid of the warning about `extraConfig` being deprecated.
This commit is contained in:
Naïm Favier 2023-02-15 12:43:44 +01:00 committed by lewo
parent fd605a419b
commit 42c5564791
1 changed files with 1 additions and 4 deletions

View File

@ -30,10 +30,7 @@ let
};
services.dnsmasq = {
enable = true;
extraConfig = ''
mx-host=domain1.com,domain1,10
mx-host=domain2.com,domain2,10
'';
settings.mx-host = [ "domain1.com,domain1,10" "domain2.com,domain2,10" ];
};
};