2023-12-13 11:21:48 -05:00
|
|
|
{...}: {
|
2024-01-08 14:55:47 -05:00
|
|
|
networking.firewall.allowedTCPPorts = [9292];
|
2023-06-14 04:44:21 -04:00
|
|
|
imports = [
|
2023-12-31 12:51:49 -05:00
|
|
|
./restic.nix
|
2023-06-14 04:44:21 -04:00
|
|
|
./traefik.nix
|
2023-06-16 04:18:29 -04:00
|
|
|
./torrent.nix
|
2023-06-14 04:44:21 -04:00
|
|
|
];
|
2023-05-28 22:00:50 -04:00
|
|
|
services.radarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
dataDir = "/var/lib/radarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.sonarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
dataDir = "/var/lib/sonarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.prowlarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
2024-01-08 14:55:47 -05:00
|
|
|
|
2024-01-08 15:39:21 -05:00
|
|
|
services.bazarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
2024-01-08 14:55:47 -05:00
|
|
|
virtualisation.oci-containers.containers = {
|
|
|
|
whisparr = {
|
|
|
|
image = "hotio/whisparr:nightly-7b7bdb9";
|
|
|
|
ports = ["6969:6969"];
|
|
|
|
volumes = [
|
|
|
|
"/var/lib/whisparr:/config"
|
|
|
|
"/stash:/data/stash"
|
|
|
|
"/media/downloads:/data/downloads"
|
|
|
|
];
|
|
|
|
extraOptions = ["--network=host"];
|
|
|
|
};
|
|
|
|
sabnzbd = {
|
|
|
|
image = "linuxserver/sabnzbd";
|
|
|
|
ports = ["9292:9292"];
|
|
|
|
environment = {
|
|
|
|
PUID = "1000";
|
|
|
|
PGID = "1000";
|
|
|
|
};
|
|
|
|
volumes = [
|
|
|
|
"/var/lib/sabnzbd:/config"
|
|
|
|
"/media/downloads:/media/downloads"
|
|
|
|
"/media/incomplete-downloads:/media/incomplete-downloads"
|
|
|
|
];
|
|
|
|
extraOptions = ["--network=host"];
|
|
|
|
};
|
2023-12-13 11:21:48 -05:00
|
|
|
};
|
2023-05-28 22:00:50 -04:00
|
|
|
}
|