mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
fix jellyfin permissions with sab
This commit is contained in:
parent
28418c4e37
commit
79eba7f333
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, lib, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
arrServer = lib.mkOption {
|
arrServer = lib.mkOption {
|
||||||
@ -15,14 +15,17 @@
|
|||||||
services.bazarr.enable = true;
|
services.bazarr.enable = true;
|
||||||
services.prowlarr.enable = true;
|
services.prowlarr.enable = true;
|
||||||
services.sabnzbd.enable = true;
|
services.sabnzbd.enable = true;
|
||||||
|
services.sabnzbd.configFile = "/data/downloads/sabnzbd/sabnzbd.ini";
|
||||||
services.jellyseerr.enable = true;
|
services.jellyseerr.enable = true;
|
||||||
unfreePackages = [ "unrar" ]; # Required for sabnzbd
|
unfreePackages = [ "unrar" ]; # Required for sabnzbd
|
||||||
|
|
||||||
# Grant users access to destination directories
|
# Grant users access to destination directories
|
||||||
users.users.sonarr.extraGroups = [ "jellyfin" ];
|
users.users.sonarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.radarr.extraGroups = [ "jellyfin" ];
|
users.users.radarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.bazarr.extraGroups = [ "jellyfin" ];
|
users.users.bazarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.sabnzbd.extraGroups = [ "jellyfin" ];
|
users.users.sabnzbd.homeMode = "0770";
|
||||||
|
users.users.${config.user}.extraGroups = [ "sabnzbd" ];
|
||||||
|
users.users.jellyfin.extraGroups = [ "sonarr" "radarr" ];
|
||||||
|
|
||||||
# Requires updating the base_url config value in each service
|
# Requires updating the base_url config value in each service
|
||||||
# If you try to rewrite the URL, the service won't redirect properly
|
# If you try to rewrite the URL, the service won't redirect properly
|
||||||
|
Loading…
Reference in New Issue
Block a user