diff --git a/modules/media/arr-suite.nix b/modules/media/arr-suite.nix index cd4363d..136ba21 100644 --- a/modules/media/arr-suite.nix +++ b/modules/media/arr-suite.nix @@ -28,11 +28,16 @@ }; # users.groups.prowlarr = {}; - environment.systemPackages = [ - pkgs.unpackerr - ]; - + services.unpackerr = { + enable = true; + # This tells Unpackerr service where to find its configuration. + # You will need to create and manage the content of this file. + configFile = "/var/lib/unpackerr/unpackerr.conf"; + }; + users.users.unpackerr = { # Unpackerr user (created by its service) added to group + extraGroups = [ "media_services" ]; + }; users.groups.radarr = {}; users.groups.sonarr = {};