diff options
author | Sandro Jäckel | 2021-04-24 09:25:07 +0200 |
---|---|---|
committer | Robert Schütz | 2021-05-26 17:24:55 +0200 |
commit | 0b4994f714e51a5789c9b3210d7ad166ab15c7c8 (patch) | |
tree | 4c985cd67db67a2ff3ed5a39021ddc8db47fdd93 /nixos | |
parent | 97fc742ae64563093fd26c642db6748e24b01bd9 (diff) |
nixos/kresd: tell resolveconf to use local resolver
(cherry picked from commit 140828ce3843444a8536db884147ed5c4b941259)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/kresd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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"; |