diff --git a/modules/searx.nix b/modules/searx.nix index 9e23955..3eb178a 100644 --- a/modules/searx.nix +++ b/modules/searx.nix @@ -5,6 +5,7 @@ }: let cfg = config.my.searx; + sockPath = "/run/searx/searx.sock"; in { options.my.searx = { @@ -24,19 +25,6 @@ in server.secret_key = "@SEARX_SECRET_KEY@"; }; environmentFile = config.sops.secrets."searx/env".path; - redisCreateLocally = true; # required for limiter - limiterSettings = { - real_ip = { - x_for = 1; - ipv4_prefix = 32; - ipv6_prefix = 56; - }; - botdetection.ip_lists.pass_ip = [ - "100.121.152.86" - "100.66.32.54" - ]; - link_token = true; - }; }; services.caddy.virtualHosts."x.cy7.sh".extraConfig = ''