Files
homelab/services/media/radarr.nix
darmanandClaude Sonnet 5 d7a66f3e3b Reorganize services/ into category subfolders
Group service modules by category (media, network, vpn, identity,
dev, desktop) to make the growing services/ dir easier to navigate.
containers.nix stays at the top level since it's a shared backend,
not a single-category service.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:08:43 +02:00

19 lines
725 B
Nix

{ ... }:
# Radarr — movie library manager, feeds off SABnzbd/Prowlarr. dataDir points
# at the config migrated from the old ZimaOS docker stack (indexers/download
# client/history already set up). Unlike prowlarr, this module uses a static
# `radarr` user (no DynamicUser) and only auto-chowns dataDir when it's the
# module's own default path — since we point at a pre-existing migrated dir,
# chown it by hand once after first deploy:
# chown -R radarr:radarr /mnt/data/AppData/radarr/config
{
services.radarr = {
enable = true;
dataDir = "/mnt/data/AppData/radarr/config";
};
# Write access to the shared library/downloads dirs (owned darman:users).
users.users.radarr.extraGroups = [ "users" ];
}