summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-26 10:13:58 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-26 10:13:58 +0100
commit0589bc83d57f96b685de3bac4b2fb9cde5f07a8f (patch)
treecaf487d170c3c8b1d17dbbfde6c7e5c8835fa45f /hosts/vidhar/default.nix
parent270778266aea356a600d42b9ab50cf036b7df34d (diff)
downloadnixos-0589bc83d57f96b685de3bac4b2fb9cde5f07a8f.tar
nixos-0589bc83d57f96b685de3bac4b2fb9cde5f07a8f.tar.gz
nixos-0589bc83d57f96b685de3bac4b2fb9cde5f07a8f.tar.bz2
nixos-0589bc83d57f96b685de3bac4b2fb9cde5f07a8f.tar.xz
nixos-0589bc83d57f96b685de3bac4b2fb9cde5f07a8f.zip
vidhar: unbound
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 25dcc7db..a8362202 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -260,5 +260,16 @@
260 260
261 cpuFreqGovernor = "schedutil"; 261 cpuFreqGovernor = "schedutil";
262 }; 262 };
263
264 services.unbound = {
265 enable = true;
266 resolveLocalQueries = false;
267 stateDir = "/var/lib/unbound";
268 settings = {
269 server = {
270 interface = ["0.0.0.0" "::"];
271 };
272 };
273 };
263 }; 274 };
264} 275}