nixos/kresd: tell resolveconf to use local resolver

(cherry picked from commit 140828ce3843444a8536db884147ed5c4b941259)
This commit is contained in:
Sandro Jäckel 2021-04-24 09:25:07 +02:00 committed by Robert Schütz
parent 97fc742ae6
commit 0b4994f714
1 changed files with 2 additions and 0 deletions

View File

@ -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";