36 lines
719 B
Nix
36 lines
719 B
Nix
{...}: {
|
|
imports = [
|
|
./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;
|
|
};
|
|
services.readarr = {
|
|
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"];
|
|
};
|
|
}
|