2024-01-22 21:58:47 -05:00
|
|
|
{pkgs, ...}: {
|
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-16 04:18:29 -04:00
|
|
|
./torrent.nix
|
2023-06-14 04:44:21 -04:00
|
|
|
];
|
2024-01-22 21:58:47 -05:00
|
|
|
environment.systemPackages = [pkgs.recyclarr];
|
2023-05-28 22:00:50 -04:00
|
|
|
services.radarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.sonarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
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-14 20:58:20 -05:00
|
|
|
services.readarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.lidarr = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
2024-01-25 07:25:31 -05:00
|
|
|
services.sabnzbd.enable = true;
|
|
|
|
|
2024-01-08 14:55:47 -05:00
|
|
|
virtualisation.oci-containers.containers = {
|
|
|
|
whisparr = {
|
2024-02-01 11:46:02 -05:00
|
|
|
image = "ghcr.io/hotio/whisparr@sha256:88b91920b77339e2deda418960be28868df538413abea6cdddaf4013e43c4c0f"; # v3-3.0.0.425
|
2024-01-08 14:55:47 -05:00
|
|
|
ports = ["6969:6969"];
|
|
|
|
volumes = [
|
|
|
|
"/var/lib/whisparr:/config"
|
2024-01-25 07:25:31 -05:00
|
|
|
"/stash:/media/stash"
|
2024-01-08 14:55:47 -05:00
|
|
|
"/media/downloads:/media/downloads"
|
|
|
|
];
|
|
|
|
extraOptions = ["--network=host"];
|
|
|
|
};
|
2024-01-22 21:58:47 -05:00
|
|
|
flaresolverr = {
|
2024-02-01 11:46:02 -05:00
|
|
|
image = "ghcr.io/flaresolverr/flaresolverr@sha256:213bb58aa341a0188e64ce2c21e1c5748b167c719828bc61dd904eb0fb1aec63"; # v3.3.13
|
2024-01-22 21:58:47 -05:00
|
|
|
ports = ["8191:8191"];
|
|
|
|
extraOptions = ["--network=host"];
|
|
|
|
};
|
2023-12-13 11:21:48 -05:00
|
|
|
};
|
2023-05-28 22:00:50 -04:00
|
|
|
}
|