From b7ec0ac3549e922a1c7f0a7df2f9ca192212740a Mon Sep 17 00:00:00 2001 From: NullBite Date: Wed, 20 Mar 2024 02:13:57 -0400 Subject: [PATCH] unbound: enable prefetching --- system/programs/unbound.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/system/programs/unbound.nix b/system/programs/unbound.nix index 192f201..541aec4 100644 --- a/system/programs/unbound.nix +++ b/system/programs/unbound.nix @@ -9,6 +9,13 @@ in config = lib.mkIf cfg.enable { networking.networkmanager.dns = "none"; - services.unbound.enable = true; + services.unbound = { + enable = true; + settings = { + server = { + prefetch = true; + }; + }; + }; }; }