nixos/kresd: tell resolveconf to use local resolver
This commit is contained in:
parent
c83536ebca
commit
140828ce38
@ -115,6 +115,8 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.etc."knot-resolver/kresd.conf".source = configFile; # not required
|
environment.etc."knot-resolver/kresd.conf".source = configFile; # not required
|
||||||
|
|
||||||
|
networking.resolvconf.useLocalResolver = mkDefault true;
|
||||||
|
|
||||||
users.users.knot-resolver =
|
users.users.knot-resolver =
|
||||||
{ isSystemUser = true;
|
{ isSystemUser = true;
|
||||||
group = "knot-resolver";
|
group = "knot-resolver";
|
||||||
|
Loading…
Reference in New Issue
Block a user