Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed May 9, 2024
2 parents db85ec1 + 91e3b4b commit fd8d424
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 25 deletions.
36 changes: 18 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions nixarr/jellyfin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ in
"d '${cfg.stateDir}' 0700 streamer root - -"
];

# Always prioritise Jellyfin IO
systemd.services.jellyfin.serviceConfig.IOSchedulingPriority = 0;

services.jellyfin = {
enable = cfg.enable;
user = "streamer";
Expand Down
2 changes: 1 addition & 1 deletion nixarr/nixarr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ in {
"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/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 - -"
Expand Down
15 changes: 9 additions & 6 deletions nixarr/transmission/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,16 @@ in {
];
};

systemd.services.transmission.serviceConfig = mkIf cfg-cross-seed.enable {
ExecStartPre = mkBefore [
(
"+" + "${importProwlarrApi}/bin/import-prowlarr-api"
)
];
systemd.services.transmission.serviceConfig = {
# Always prioritize all other services wrt. IO
IOSchedulingPriority = 7;
ExecStartPre = mkIf cfg-cross-seed.enable (
mkBefore [
("+" + "${importProwlarrApi}/bin/import-prowlarr-api")
]
);
};

services.transmission = {
enable = true;
user = "torrenter";
Expand Down

0 comments on commit fd8d424

Please sign in to comment.