Compare commits

...

5 commits

Author SHA1 Message Date
689b8fb50f
adguardhome: add bazarr rewrite
All checks were successful
flake check / check (push) Successful in 4m31s
fmt check / check (push) Successful in 57s
2024-01-09 00:26:43 -05:00
06df3ec2f2
sabnzbd: pin version 2024-01-09 00:26:33 -05:00
345402c386
traefik: add bazarr 2024-01-09 00:26:20 -05:00
291e0dc33b
hosts: move searxng to yuki 2024-01-09 00:25:11 -05:00
736d4aa86e
firefox: update searxng 2024-01-09 00:24:50 -05:00
8 changed files with 21 additions and 14 deletions

View file

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

View file

@ -45,6 +45,10 @@ _: {
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,8 +38,9 @@
]; ];
extraOptions = ["--network=host"]; extraOptions = ["--network=host"];
}; };
sabnzbd = { sabnzbd = {
image = "linuxserver/sabnzbd"; image = "linuxserver/sabnzbd:nightly-version-8ef87881";
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";
}; };
readarr = { bazarr = {
rule = "Host(`readarr.internal.flake.sh`)"; rule = "Host(`bazarr.internal.flake.sh`)";
entryPoints = ["web"]; entryPoints = ["web"];
service = "readarr"; service = "bazarr";
}; };
whisparr = { whisparr = {
rule = "Host(`whisparr.internal.flake.sh`)"; rule = "Host(`whisparr.internal.flake.sh`)";
@ -39,6 +39,7 @@ _: {
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,7 +9,6 @@
./vaultwarden.nix ./vaultwarden.nix
./conduit.nix ./conduit.nix
./tailscale.nix ./tailscale.nix
./searxng.nix
./justlog.nix ./justlog.nix
]; ];
} }

View file

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

View file

@ -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";

View file

@ -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";}];
}; };
}; };
}; };