From 4ab31f374c9d62baacde935e23257eebafc5b956 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sun, 8 May 2022 19:45:44 +0200 Subject: dnscrypt: add NixOS specialisation to use default DNS --- usecases/common/dnscrypt.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usecases/common/dnscrypt.nix b/usecases/common/dnscrypt.nix index 4c71221..151f428 100644 --- a/usecases/common/dnscrypt.nix +++ b/usecases/common/dnscrypt.nix @@ -73,4 +73,9 @@ inputs: }; networking.resolvconf.useLocalResolver = true; + + specialisation.defaultDNS.configuration = { + networking.resolvconf.useLocalResolver = lib.mkForce false; + services.dnscrypt-proxy2.enable = lib.mkForce false; + }; } -- cgit v1.2.3