nixos/kresd: tell resolveconf to use local resolver

This commit is contained in:
Sandro Jäckel 2021-04-24 09:25:07 +02:00
parent c83536ebca
commit 140828ce38
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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