Compare commits

..

No commits in common. "689b8fb50fbb093e9b636110cad32f5ab717ab51" and "bd7359561435668cddeb67d28ba8e4186510aa76" have entirely different histories.

8 changed files with 14 additions and 21 deletions

View file

@ -29,7 +29,7 @@
"SearXNG" = { "SearXNG" = {
urls = [ urls = [
{ {
template = "http://100.108.113.89:8100"; template = "http://100.121.201.47:8100";
params = [ params = [
{ {
name = "q"; name = "q";
@ -75,7 +75,6 @@
#leisure #leisure
darkreader darkreader
mal-sync mal-sync
stylus
#utility #utility
new-tab-override new-tab-override

View file

@ -45,10 +45,6 @@ _: {
domain = "radarr.internal.flake.sh"; domain = "radarr.internal.flake.sh";
answer = "192.168.1.54"; answer = "192.168.1.54";
} }
{
domain = "bazarr.internal.flake.sh";
answer = "192.168.1.54";
}
{ {
domain = "whisparr.internal.flake.sh"; domain = "whisparr.internal.flake.sh";
answer = "192.168.1.54"; answer = "192.168.1.54";

View file

@ -38,9 +38,8 @@
]; ];
extraOptions = ["--network=host"]; extraOptions = ["--network=host"];
}; };
sabnzbd = { sabnzbd = {
image = "linuxserver/sabnzbd:nightly-version-8ef87881"; image = "linuxserver/sabnzbd";
ports = ["9292:9292"]; ports = ["9292:9292"];
environment = { environment = {
PUID = "1000"; PUID = "1000";

View file

@ -20,10 +20,10 @@ _: {
entryPoints = ["web"]; entryPoints = ["web"];
service = "radarr"; service = "radarr";
}; };
bazarr = { readarr = {
rule = "Host(`bazarr.internal.flake.sh`)"; rule = "Host(`readarr.internal.flake.sh`)";
entryPoints = ["web"]; entryPoints = ["web"];
service = "bazarr"; service = "readarr";
}; };
whisparr = { whisparr = {
rule = "Host(`whisparr.internal.flake.sh`)"; rule = "Host(`whisparr.internal.flake.sh`)";
@ -39,7 +39,6 @@ _: {
services = { services = {
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}]; radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
bazarr.loadBalancer.servers = [{url = "http://localhost:6767";}];
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}]; whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
}; };

View file

@ -9,6 +9,7 @@
./vaultwarden.nix ./vaultwarden.nix
./conduit.nix ./conduit.nix
./tailscale.nix ./tailscale.nix
./searxng.nix
./justlog.nix ./justlog.nix
]; ];
} }

View file

@ -8,7 +8,10 @@
services.searx = { services.searx = {
package = pkgs.searxng; package = pkgs.searxng;
enable = true; enable = true;
runInUwsgi = false; runInUwsgi = true;
uwsgiConfig = {
http = ":8100";
};
environmentFile = config.sops.secrets.searxng-secret.path; environmentFile = config.sops.secrets.searxng-secret.path;
limiterSettings = { limiterSettings = {
botdetection = { botdetection = {
@ -17,6 +20,7 @@
"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"
]; ];
}; };
}; };
@ -24,7 +28,9 @@
settings = { settings = {
general = { general = {
debug = false; debug = false;
instance_name = "SearXNG"; instance_name = "SearXNG flake.sh";
enable_metrics = false;
contact_url = "mailto:contact@notohh.dev";
}; };
ui = { ui = {
default_theme = "simple"; default_theme = "simple";

View file

@ -6,6 +6,5 @@
./jellyfin.nix ./jellyfin.nix
./wallos.nix ./wallos.nix
./homepage.nix ./homepage.nix
./searxng.nix
]; ];
} }

View file

@ -35,11 +35,6 @@ _: {
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";}];
@ -47,7 +42,6 @@ _: {
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";}];
}; };
}; };
}; };