snowflake/hosts/kariru/services/default.nix

56 lines
1.3 KiB
Nix
Raw Normal View History

{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
./torrent.nix
2023-06-14 04:44:21 -04:00
];
2023-05-28 22:00:50 -04:00
environment.systemPackages = [pkgs.recyclarr];
services = {
radarr = {
enable = true;
openFirewall = true;
};
sonarr = {
enable = true;
openFirewall = true;
};
prowlarr = {
enable = true;
openFirewall = true;
};
bazarr = {
enable = true;
openFirewall = true;
};
readarr = {
enable = true;
openFirewall = true;
};
lidarr = {
enable = true;
openFirewall = true;
};
sabnzbd.enable = true;
2024-01-14 20:58:20 -05:00
};
2024-01-08 14:55:47 -05:00
virtualisation.oci-containers.containers = {
whisparr = {
image = "ghcr.io/hotio/whisparr@sha256:d66f5dc01af747881e25b8e72aa45de30fba672c16df897af69257704fb61fe4"; # v3-3.0.0.545
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"];
};
flaresolverr = {
image = "ghcr.io/flaresolverr/flaresolverr@sha256:5f5661db1e69a6f80ac24d47d9fa5580f6f741ee5ec967818396ae0dacecd7ea"; # v3.3.17
ports = ["8191:8191"];
extraOptions = ["--network=host"];
};
2023-12-13 11:21:48 -05:00
};
2023-05-28 22:00:50 -04:00
}