Skip to content

Commit

Permalink
mediaDir fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Aug 7, 2024
1 parent cb98198 commit d26de61
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions nixarr/jellyfin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ in
"d '${cfg.stateDir}' 0700 streamer root - -"

# Media Dirs
"d '${cfg.mediaDir}/library' 0775 streamer media - -"
"d '${cfg.mediaDir}/library/shows' 0775 streamer media - -"
"d '${cfg.mediaDir}/library/movies' 0775 streamer media - -"
"d '${cfg.mediaDir}/library/music' 0775 streamer media - -"
"d '${cfg.mediaDir}/library/books' 0775 streamer media - -"
"d '${nixarr.mediaDir}/library' 0775 streamer media - -"
"d '${nixarr.mediaDir}/library/shows' 0775 streamer media - -"
"d '${nixarr.mediaDir}/library/movies' 0775 streamer media - -"
"d '${nixarr.mediaDir}/library/music' 0775 streamer media - -"
"d '${nixarr.mediaDir}/library/books' 0775 streamer media - -"
];

# Always prioritise Jellyfin IO
Expand Down
16 changes: 8 additions & 8 deletions nixarr/sabnzbd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ in {
"C ${cfg.stateDir}/sabnzbd.ini - - - - ${ini-base-config-file}"

# Media dirs
"d '${cfg.mediaDir}/usenet' 0755 usenet media - -"
"d '${cfg.mediaDir}/usenet/.incomplete' 0755 usenet media - -"
"d '${cfg.mediaDir}/usenet/.watch' 0755 usenet media - -"
"d '${cfg.mediaDir}/usenet/manual' 0775 usenet media - -"
"d '${cfg.mediaDir}/usenet/liadarr' 0775 usenet media - -"
"d '${cfg.mediaDir}/usenet/radarr' 0775 usenet media - -"
"d '${cfg.mediaDir}/usenet/sonarr' 0775 usenet media - -"
"d '${cfg.mediaDir}/usenet/readarr' 0775 usenet media - -"
"d '${nixarr.mediaDir}/usenet' 0755 usenet media - -"
"d '${nixarr.mediaDir}/usenet/.incomplete' 0755 usenet media - -"
"d '${nixarr.mediaDir}/usenet/.watch' 0755 usenet media - -"
"d '${nixarr.mediaDir}/usenet/manual' 0775 usenet media - -"
"d '${nixarr.mediaDir}/usenet/liadarr' 0775 usenet media - -"
"d '${nixarr.mediaDir}/usenet/radarr' 0775 usenet media - -"
"d '${nixarr.mediaDir}/usenet/sonarr' 0775 usenet media - -"
"d '${nixarr.mediaDir}/usenet/readarr' 0775 usenet media - -"
];

services.sabnzbd = {
Expand Down
16 changes: 8 additions & 8 deletions nixarr/transmission/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,14 @@ in {
"d '${cfg.stateDir}/.config/transmission-daemon' 0750 torrenter cross-seed - -"

# Media Dirs
"d '${cfg.mediaDir}/torrents' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/.incomplete' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/.watch' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/manual' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/lidarr' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/radarr' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/sonarr' 0755 torrenter media - -"
"d '${cfg.mediaDir}/torrents/readarr' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/.incomplete' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/.watch' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/manual' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/lidarr' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/radarr' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/sonarr' 0755 torrenter media - -"
"d '${nixarr.mediaDir}/torrents/readarr' 0755 torrenter media - -"
];

util-nixarr.services.cross-seed = mkIf cfg-cross-seed.enable {
Expand Down

0 comments on commit d26de61

Please sign in to comment.