{ ... }: # Sonarr — TV 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 # `sonarr` 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 sonarr:sonarr /mnt/data/AppData/sonarr/config { services.sonarr = { enable = true; dataDir = "/mnt/data/AppData/sonarr/config"; }; # Write access to the shared library/downloads dirs (owned darman:users). users.users.sonarr.extraGroups = [ "users" ]; }