Compare commits
1 commit
59de12e892
...
3f0e739939
Author | SHA1 | Date | |
---|---|---|---|
3f0e739939 |
1 changed files with 1 additions and 13 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue