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