hosts: move searxng to yuki
This commit is contained in:
parent
736d4aa86e
commit
291e0dc33b
4 changed files with 9 additions and 9 deletions
|
@ -9,7 +9,6 @@
|
|||
./vaultwarden.nix
|
||||
./conduit.nix
|
||||
./tailscale.nix
|
||||
./searxng.nix
|
||||
./justlog.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
./jellyfin.nix
|
||||
./wallos.nix
|
||||
./homepage.nix
|
||||
./searxng.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -8,10 +8,7 @@
|
|||
services.searx = {
|
||||
package = pkgs.searxng;
|
||||
enable = true;
|
||||
runInUwsgi = true;
|
||||
uwsgiConfig = {
|
||||
http = ":8100";
|
||||
};
|
||||
runInUwsgi = false;
|
||||
environmentFile = config.sops.secrets.searxng-secret.path;
|
||||
limiterSettings = {
|
||||
botdetection = {
|
||||
|
@ -20,7 +17,6 @@
|
|||
"192.168.0.0/16"
|
||||
"172.16.0.0/12"
|
||||
"10.0.0.0/8"
|
||||
"100.71.49.65/32"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -28,9 +24,7 @@
|
|||
settings = {
|
||||
general = {
|
||||
debug = false;
|
||||
instance_name = "SearXNG flake.sh";
|
||||
enable_metrics = false;
|
||||
contact_url = "mailto:contact@notohh.dev";
|
||||
instance_name = "SearXNG";
|
||||
};
|
||||
ui = {
|
||||
default_theme = "simple";
|
|
@ -35,6 +35,11 @@ _: {
|
|||
entrypoints = ["web"];
|
||||
service = "wallos";
|
||||
};
|
||||
searxng = {
|
||||
rule = "Host(`search.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "searxng";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||
|
@ -42,6 +47,7 @@ _: {
|
|||
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
||||
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
||||
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
|
||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue