diff --git a/configuration.nix b/configuration.nix index 78bc40e..655744f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -101,12 +101,17 @@ services.udisks2.enable = true; - services.jellyfin.enable = true; + # Multimedia group + users.groups.multimedia = {}; + systemd.tmpfiles.rules = [ + "d /zroot/media 0770 - multimedia - -" + ]; - services.lidarr.enable = true; - services.radarr.enable = true; - services.readarr.enable = true; - services.sonarr.enable = true; + services.jellyfin = { enable = true; group = "multimedia"; }; + services.lidarr = { enable = true; group = "multimedia"; }; + services.radarr = { enable = true; group = "multimedia"; }; + services.readarr = { enable = true; group = "multimedia"; }; + services.sonarr = { enable = true; group = "multimedia"; }; services.aria2.enable = true;