nix-dotfiles/modules/nixos/torrentbox.nix
2024-05-18 15:01:33 +02:00

28 lines
1.3 KiB
Nix

{
services =
{
ombi = { enable = true; openFirewall = true; group = "users"; };
bazarr = { enable = true; openFirewall = true; group = "users"; };
lidarr = { enable = true; openFirewall = true; group = "users"; };
prowlarr = { enable = true; openFirewall = true; };
radarr = { enable = true; openFirewall = true; group = "users"; };
readarr = { enable = true; openFirewall = true; group = "users"; };
sonarr = { enable = true; openFirewall = true; group = "users"; };
transmission = { enable = true; openFirewall = true; group = "users"; settings.download-dir = "/mnt/raid/condiviso/Torrent"; };
};
systemd.services = {
ombi.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
bazarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
lidarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
prowlarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
radarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
readarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
sonarr.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
transmission.serviceConfig = { MemoryHigh = "400M"; MemoryMax = "800M"; };
};
}