From 42c55647910820eae41586c9ff08443a1cd46ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Wed, 15 Feb 2023 12:43:44 +0100 Subject: [PATCH] tests: use `services.dnsmasq.settings` Gets rid of the warning about `extraConfig` being deprecated. --- tests/multiple.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/multiple.nix b/tests/multiple.nix index cef20e3..8a4c07b 100644 --- a/tests/multiple.nix +++ b/tests/multiple.nix @@ -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" ]; }; };