From 29ed547f9c6db0f805fcc17c065d5b0b7034087b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 22 Oct 2023 09:03:51 +0100 Subject: [PATCH] Move rewrites to dns, add some blocked services --- services/adguardhome/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/adguardhome/default.nix b/services/adguardhome/default.nix index 44b21f19..36cd5c71 100644 --- a/services/adguardhome/default.nix +++ b/services/adguardhome/default.nix @@ -12,9 +12,6 @@ bootstrap_dns = [ "9.9.9.9" "149.112.112.10" ]; ratelimit = 0; safe_search.enabled = true; - }; - filtering = { - inherit (dns) safe_search; rewrites = [ { domain = "xenia.me.uk"; @@ -25,7 +22,9 @@ answer = "A"; } ]; + blocked_services.ids = [ "amazon" "facebook" "twitter" ]; }; + filtering = { inherit (dns) safe_search rewrites blocked_services; }; querylog.ignored = [ "discovery.syncthing.net" "discovery-v6.syncthing.net"