Force Jellyfin UMask=0002 to override new nixpkgs default

nixpkgs now sets UMask=0077 on the Jellyfin service, conflicting with
our override that ensures media-group writes. Wrapping with lib.mkForce
restores the intended permission bits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-16 20:20:01 +01:00
parent 2096330eb8
commit c4421b32a8

View file

@ -9,7 +9,7 @@
}; };
# Ensure Jellyfin can write thumbnails/artwork to media directories # Ensure Jellyfin can write thumbnails/artwork to media directories
systemd.services.jellyfin.serviceConfig.UMask = "0002"; systemd.services.jellyfin.serviceConfig.UMask = lib.mkForce "0002";
users.users.jellyfin.extraGroups = [ "media" "video" "render" ]; users.users.jellyfin.extraGroups = [ "media" "video" "render" ];
}; };