From 0b4994f714e51a5789c9b3210d7ad166ab15c7c8 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Sat, 24 Apr 2021 09:25:07 +0200 Subject: nixos/kresd: tell resolveconf to use local resolver (cherry picked from commit 140828ce3843444a8536db884147ed5c4b941259) --- nixos/modules/services/networking/kresd.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/services/networking/kresd.nix b/nixos/modules/services/networking/kresd.nix index 9b94c390e985..6882a315f616 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"; -- cgit 1.4.1