diff --git a/systems/x86_64-linux/stargate/services/adguardhome.nix b/systems/x86_64-linux/stargate/services/adguardhome.nix index 32f3185..9942c57 100644 --- a/systems/x86_64-linux/stargate/services/adguardhome.nix +++ b/systems/x86_64-linux/stargate/services/adguardhome.nix @@ -38,11 +38,11 @@ in { cache_enabled = true; cache_size = 1024 * 256; - cache_ttl_min = 60; - cache_ttl_max = 60 * 60 * 24 * 365; + cache_ttl_min = "60s"; + cache_ttl_max = "365d"; cache_optimistic = true; - cache_optimistic_answer_ttl = 180; - cache_optimistic_max_age = 600; + cache_optimistic_answer_ttl = "180s"; + cache_optimistic_max_age = "600s"; }; filtering = {