From 3ef842f359a57bde7a1dc660206d910c26b5bb2a Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 4 Jan 2024 03:49:09 +0000 Subject: [PATCH] fix issue with jellyfin dir permissions --- modules/nixos/services/jellyfin.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/services/jellyfin.nix b/modules/nixos/services/jellyfin.nix index 9508c1a..2eab282 100644 --- a/modules/nixos/services/jellyfin.nix +++ b/modules/nixos/services/jellyfin.nix @@ -47,6 +47,9 @@ users.users.jellyfin.extraGroups = [ "render" "video" ]; # Access to /dev/dri + # Fix issue where Jellyfin-created directories don't allow access for media group + systemd.services.jellyfin.serviceConfig.UMask = lib.mkForce "0007"; + # Requires MetricsEnable is true in /var/lib/jellyfin/config/system.xml prometheus.scrapeTargets = [ "127.0.0.1:8096" ];