From a488b0040d72b9f2128554df458317bdfba238b1 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 29 Apr 2026 00:03:51 +0200 Subject: [PATCH] Adguardhome disabled statistics --- .../stargate/services/adguardhome.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/stargate/services/adguardhome.nix b/systems/x86_64-linux/stargate/services/adguardhome.nix index acac5c0..32f3185 100644 --- a/systems/x86_64-linux/stargate/services/adguardhome.nix +++ b/systems/x86_64-linux/stargate/services/adguardhome.nix @@ -35,6 +35,14 @@ in { "94.140.15.15" "1.1.1.1" ]; + + cache_enabled = true; + cache_size = 1024 * 256; + cache_ttl_min = 60; + cache_ttl_max = 60 * 60 * 24 * 365; + cache_optimistic = true; + cache_optimistic_answer_ttl = 180; + cache_optimistic_max_age = 600; }; filtering = { @@ -56,10 +64,18 @@ in { }; statistics = { - enabled = true; + enabled = false; interval = "8760h"; }; + querylog = { + enabled = false; + }; + + dhcp = { + enabled = false; + }; + filters = map (url: { enabled = true;