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