Compare commits
2 commits
e1505bf9a1
...
8b3c6ec6c8
Author | SHA1 | Date | |
---|---|---|---|
8b3c6ec6c8 | |||
0e2c61de6e |
4 changed files with 31 additions and 3 deletions
|
@ -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";
|
||||||
|
|
|
@ -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";}
|
||||||
];
|
];
|
||||||
|
|
|
@ -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"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue