Force UMask=0002 on Radarr, Sonarr, Bazarr

New nixpkgs defaults for the *arr services set UMask=0022, which
conflicts with the media-group-writable overrides. Wrap with
lib.mkForce alongside the existing Jellyfin fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-16 20:22:37 +01:00
parent c4421b32a8
commit 2e29d3dce5
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@
};
# Ensure subtitles written by bazarr are group-writable
systemd.services.bazarr.serviceConfig.UMask = "0002";
systemd.services.bazarr.serviceConfig.UMask = lib.mkForce "0002";
users.users.bazarr = {
isSystemUser = true;

View file

@ -13,7 +13,7 @@
};
# Ensure files created by radarr are group-writable
systemd.services.radarr.serviceConfig.UMask = "0002";
systemd.services.radarr.serviceConfig.UMask = lib.mkForce "0002";
# Media group is already created in qbittorrent-nox.nix
# Just make sure radarr is in it

View file

@ -13,7 +13,7 @@
};
# Ensure files created by sonarr are group-writable
systemd.services.sonarr.serviceConfig.UMask = "0002";
systemd.services.sonarr.serviceConfig.UMask = lib.mkForce "0002";
# Media group is already created in qbittorrent-nox.nix
# Just make sure sonarr is in it