summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2023-05-30 23:36:53 +0200
committerAntoine Eiche <lewo@abesis.fr>2023-06-11 17:10:14 +0200
commit131c48de9bbf85da77434cde858da1d922cbc4ea (patch)
tree9ddf9cc5848fd1da838c57abd65cccfb8a7bfef7
parent290d00f6db4e80467013728819ad73dd4a394d9a (diff)
Preserve the compatibility with nixos-22.11
-rw-r--r--tests/multiple.nix7
1 files changed, 6 insertions, 1 deletions
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
+ '';
};
};