Compare commits

...

2 commits

Author SHA1 Message Date
8b3c6ec6c8
blocky: add whisparr readarr
All checks were successful
flake check / check (push) Successful in 4m49s
fmt check / check (push) Successful in 37s
2023-12-13 11:22:07 -05:00
0e2c61de6e
kariru: init whisparr and readarr 2023-12-13 11:21:48 -05:00
4 changed files with 31 additions and 3 deletions

View file

@ -101,7 +101,8 @@
"jellyseerr.internal.flake.sh" = "192.168.1.98"; "jellyseerr.internal.flake.sh" = "192.168.1.98";
"sonarr.internal.flake.sh" = "192.168.1.54"; "sonarr.internal.flake.sh" = "192.168.1.54";
"radarr.internal.flake.sh" = "192.168.1.54"; "radarr.internal.flake.sh" = "192.168.1.54";
"bazarr.internal.flake.sh" = "192.168.1.54"; "readarr.internal.flake.sh" = "192.168.1.54";
"whisparr.internal.flake.sh" = "192.168.1.54";
"prowlarr.internal.flake.sh" = "192.168.1.54"; "prowlarr.internal.flake.sh" = "192.168.1.54";
"stash.internal.flake.sh" = "192.168.1.98"; "stash.internal.flake.sh" = "192.168.1.98";
"nextcloud.internal.flake.sh" = "192.168.1.199"; "nextcloud.internal.flake.sh" = "192.168.1.199";

View file

@ -22,6 +22,11 @@
fsType = "nfs"; fsType = "nfs";
}; };
fileSystems."/stash" = {
device = "192.168.1.199:/mnt/Sutoreji/stash";
fsType = "nfs";
};
swapDevices = [ swapDevices = [
{device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";} {device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";}
]; ];

View file

@ -1,4 +1,4 @@
_: { {...}: {
imports = [ imports = [
./traefik.nix ./traefik.nix
./torrent.nix ./torrent.nix
@ -19,8 +19,18 @@ _: {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
}; };
services.bazarr = { services.readarr = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
}; };
virtualisation.oci-containers.containers.whisparr = {
image = "hotio/whisparr";
ports = ["6969:6969"];
volumes = [
"/var/lib/whisparr:/config"
"/stash:/data/stash"
"/media/downloads:/data/downloads"
];
extraOptions = ["--network=host"];
};
} }

View file

@ -20,6 +20,16 @@ _: {
entryPoints = ["web"]; entryPoints = ["web"];
service = "radarr"; service = "radarr";
}; };
readarr = {
rule = "Host(`readarr.internal.flake.sh`)";
entryPoints = ["web"];
service = "readarr";
};
whisparr = {
rule = "Host(`whisparr.internal.flake.sh`)";
entryPoints = ["web"];
service = "whisparr";
};
prowlarr = { prowlarr = {
rule = "Host(`prowlarr.internal.flake.sh`)"; rule = "Host(`prowlarr.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
@ -29,6 +39,8 @@ _: {
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";}];
readarr.loadBalancer.servers = [{url = "http://localhost:8787";}];
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
}; };
}; };