summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-04-24 09:25:07 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-05-25 16:37:00 +0200
commit140828ce3843444a8536db884147ed5c4b941259 (patch)
treec01ca9cd2c02a5fe6c4bc109a4e83ccc4c33a973 /nixos
parentc83536ebca78b481059c9f11920d86a5612d2919 (diff)
downloadnixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar.gz
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar.bz2
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar.lz
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar.xz
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.tar.zst
nixpkgs-140828ce3843444a8536db884147ed5c4b941259.zip
nixos/kresd: tell resolveconf to use local resolver
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/kresd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/kresd.nix b/nixos/modules/services/networking/kresd.nix
index 9b94c390e98..6882a315f61 100644
--- a/nixos/modules/services/networking/kresd.nix
+++ b/nixos/modules/services/networking/kresd.nix
@@ -115,6 +115,8 @@ in {
   config = mkIf cfg.enable {
     environment.etc."knot-resolver/kresd.conf".source = configFile; # not required
 
+    networking.resolvconf.useLocalResolver = mkDefault true;
+
     users.users.knot-resolver =
       { isSystemUser = true;
         group = "knot-resolver";