Compare commits

..

1 commit

Author SHA1 Message Date
cy
3f0e739939
flake update
Signed-off-by: cy <cy@cy7.sh>
2025-03-08 17:50:21 -05:00

View file

@ -5,6 +5,7 @@
}: }:
let let
cfg = config.my.searx; cfg = config.my.searx;
sockPath = "/run/searx/searx.sock";
in in
{ {
options.my.searx = { options.my.searx = {
@ -24,19 +25,6 @@ in
server.secret_key = "@SEARX_SECRET_KEY@"; server.secret_key = "@SEARX_SECRET_KEY@";
}; };
environmentFile = config.sops.secrets."searx/env".path; 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 = '' services.caddy.virtualHosts."x.cy7.sh".extraConfig = ''