about summary refs log tree commit diff
path: root/nixos/tests/dnscrypt-proxy2.nix
diff options
context:
space:
mode:
authorRobert Kovacsics <robert.kovacsics@cambridgeconsultants.com>2022-10-14 19:08:38 +0100
committerRobert Kovacsics <robert.kovacsics@cambridgeconsultants.com>2022-12-04 23:08:37 +0000
commit2c0042956018b6b0dbe41195362afacf704b7214 (patch)
treeee8763e4b78376144714647fb6b1d1c855b553dc /nixos/tests/dnscrypt-proxy2.nix
parent9fad28e92d1a24dedfe948f8a85a2430f21fabd7 (diff)
nixos/dnsmasq: Use attrs instead of plain text config
This should make it easier to configure in multiple places, override
defaults, etc.
Diffstat (limited to 'nixos/tests/dnscrypt-proxy2.nix')
-rw-r--r--nixos/tests/dnscrypt-proxy2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/dnscrypt-proxy2.nix b/nixos/tests/dnscrypt-proxy2.nix
index 4435d77bbf3b2..a75a745d3553c 100644
--- a/nixos/tests/dnscrypt-proxy2.nix
+++ b/nixos/tests/dnscrypt-proxy2.nix
@@ -26,7 +26,7 @@ in {
       };
 
       services.dnsmasq.enable = true;
-      services.dnsmasq.servers = [ "127.0.0.1#${toString localProxyPort}" ];
+      services.dnsmasq.settings.server = [ "127.0.0.1#${toString localProxyPort}" ];
     };
   };