From 64109cf38076ff3cf46bb74f25153e0227744d5e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 22 Oct 2023 06:45:46 +0100 Subject: [PATCH] Fix adguardhome settings Set http port and dns settings using updated schema, disable rate limiting and enable safe search --- services/adguardhome/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/services/adguardhome/default.nix b/services/adguardhome/default.nix index 9d1e5ff7..bac922ae 100644 --- a/services/adguardhome/default.nix +++ b/services/adguardhome/default.nix @@ -6,8 +6,13 @@ enable = true; mutableSettings = false; settings = { - bind_port = 3001; - # schema_version = 14; + http.address = "0.0.0.0:3001"; + dns = { + bind_hosts = [ "127.0.0.1" "192.168.1.230" ]; + bootstrap_dns = [ "9.9.9.9" "149.112.112.10" ]; + ratelimit = 0; + safe_search.enabled = true; + }; }; openFirewall = true; };