From 131c48de9bbf85da77434cde858da1d922cbc4ea Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Tue, 30 May 2023 23:36:53 +0200 Subject: [PATCH] Preserve the compatibility with nixos-22.11 --- tests/multiple.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/multiple.nix b/tests/multiple.nix index 8a4c07b..daf468a 100644 --- a/tests/multiple.nix +++ b/tests/multiple.nix @@ -30,7 +30,12 @@ let }; services.dnsmasq = { 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 + ''; }; };