snowflake/hosts/kariru/services/default.nix
notohh 8ddb1e37b3
All checks were successful
flake check / check (push) Successful in 4m35s
fmt check / check (push) Successful in 1m5s
kariru: add sabnzbd
2024-01-08 14:55:47 -05:00

51 lines
1.1 KiB
Nix

{...}: {
networking.firewall.allowedTCPPorts = [9292];
imports = [
./restic.nix
./traefik.nix
./torrent.nix
];
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;
};
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"];
};
};
}