From 7351ebd96c39a0afc1f6b3ad1117af140870569c Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Sun, 15 Jun 2025 21:30:02 +0200 Subject: [PATCH 1/7] fix(cross-seed): missing globals --- nixarr/transmission/cross-seed/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixarr/transmission/cross-seed/default.nix b/nixarr/transmission/cross-seed/default.nix index b637b77..929b12b 100644 --- a/nixarr/transmission/cross-seed/default.nix +++ b/nixarr/transmission/cross-seed/default.nix @@ -6,6 +6,7 @@ }: with lib; let cfg = config.util-nixarr.services.cross-seed; + globals = config.util-nixarr.globals; settingsFormat = pkgs.formats.json {}; settingsFile = settingsFormat.generate "settings.json" cfg.settings; configJs = pkgs.writeText "config.js" '' From 5eeffdc095b0f2f4366e0aff6e227a6bbe48a918 Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Sun, 15 Jun 2025 21:30:15 +0200 Subject: [PATCH 2/7] fix(transmission): remove hardcoded user --- nixarr/transmission/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixarr/transmission/default.nix b/nixarr/transmission/default.nix index 5efe61e..fd3c476 100644 --- a/nixarr/transmission/default.nix +++ b/nixarr/transmission/default.nix @@ -31,7 +31,7 @@ with lib; let text = '' touch ${cfg.stateDir}/prowlarr-api-key chmod 400 ${cfg.stateDir}/prowlarr-api-key - chown torrenter ${cfg.stateDir}/prowlarr-api-key + chown ${globals.transmission.user} ${cfg.stateDir}/prowlarr-api-key xq -r '.Config.ApiKey' "${nixarr.prowlarr.stateDir}/config.xml" > "${cfg.stateDir}/prowlarr-api-key" ''; }; From 7c184377f229fb2d5167722143eefca3295434b5 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sun, 22 Jun 2025 20:20:38 +0200 Subject: [PATCH 3/7] Fix typo --- docs/wiki/setup/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/setup/index.md b/docs/wiki/setup/index.md index 202298a..0b11f28 100644 --- a/docs/wiki/setup/index.md +++ b/docs/wiki/setup/index.md @@ -67,7 +67,7 @@ with JSON, and can therefore be configured with nix. The most basic settings are - Click on `Show Advanced` - Under `Importing`, enable `Use Hardlinks instead of Copy` - Under `Root Folders`, click `Add Root Folder`. Add - `/data/media/library/movies/`, then click `Save Changes`. + `/data/media/library/shows/`, then click `Save Changes`. - Go to "Settings" > "Download Clients" and add Transmission. Change the category to `sonarr`. From e8efa2f1347c5a83cae980af8ea841208fb70be3 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 24 Jun 2025 21:43:14 +0200 Subject: [PATCH 4/7] fix permissions issues Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- docs/wiki/setup/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/wiki/setup/index.md b/docs/wiki/setup/index.md index 0b11f28..f5a5fac 100644 --- a/docs/wiki/setup/index.md +++ b/docs/wiki/setup/index.md @@ -47,6 +47,7 @@ with JSON, and can therefore be configured with nix. The most basic settings are - Go to "Settings" > "Media Management": - Click on `Show Advanced` - Under `Importing`, enable `Use Hardlinks instead of Copy` + - Under `Permissions`, change `chmod Folder` to `775` - Under `Root Folders`, click `Add Root Folder`. Add `/data/media/library/movies/`, then click `Save Changes`. - Go to "Settings" > "Download Clients" and add Transmission. Change the @@ -66,6 +67,7 @@ with JSON, and can therefore be configured with nix. The most basic settings are - Go to "Settings" > "Media Management": - Click on `Show Advanced` - Under `Importing`, enable `Use Hardlinks instead of Copy` + - Under `Permissions`, change `chmod Folder` to `775` - Under `Root Folders`, click `Add Root Folder`. Add `/data/media/library/shows/`, then click `Save Changes`. - Go to "Settings" > "Download Clients" and add Transmission. Change the From dd6c7abafd7ad780a7a8a7881232ed3672496001 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 9 Jul 2025 22:27:05 +0200 Subject: [PATCH 5/7] typos Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- docs/wiki/setup/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wiki/setup/index.md b/docs/wiki/setup/index.md index f5a5fac..9a820a6 100644 --- a/docs/wiki/setup/index.md +++ b/docs/wiki/setup/index.md @@ -9,7 +9,7 @@ you are using the [first example](/wiki/examples/example-1) in your Nix configuration. Replace {URL} in this document with your server IP or domain. In the below setup, we assume you also didn't set the `nixarr.mediaDir` -option, which by defuault is set to `/data/media`. +option, which by default is set to `/data/media`. ## Jellyfin @@ -31,7 +31,7 @@ option, which by defuault is set to `/data/media`. ## Transmission -Transmission should already be setupup and running since it's configured +Transmission should already be setup and running since it's configured with JSON, and can therefore be configured with nix. The most basic settings are already set. See the following links for more info: - [The configured Nixarr defaults for transmission](https://github.com/rasmus-kirk/nixarr/blob/28d1be070deb1a064c1967889c11c8921752fa09/nixarr/transmission/default.nix#L355) @@ -106,7 +106,7 @@ with JSON, and can therefore be configured with nix. The most basic settings are - Go to {URL}:6767/settings/general and set `Unmonitor Deleted Subtitles` to true. -- Go to "Settings" > "Audio Synchronization / Alignment" > "Automatic +- Go to "Settings" > "Subtitles" > "Audio Synchronization / Alignment" > "Automatic Subtitles Audio Synchronization" ## Prowlarr From 2fc3b8f27c89c6f6bde0bfc6e0255c7ae1aa145d Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 9 Jul 2025 22:29:59 +0200 Subject: [PATCH 6/7] rephrase Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- docs/wiki/setup/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/setup/index.md b/docs/wiki/setup/index.md index 9a820a6..b326240 100644 --- a/docs/wiki/setup/index.md +++ b/docs/wiki/setup/index.md @@ -106,7 +106,7 @@ with JSON, and can therefore be configured with nix. The most basic settings are - Go to {URL}:6767/settings/general and set `Unmonitor Deleted Subtitles` to true. -- Go to "Settings" > "Subtitles" > "Audio Synchronization / Alignment" > "Automatic +- Go to "Settings" > "Subtitles" > "Audio Synchronization / Alignment" and enable "Automatic Subtitles Audio Synchronization" ## Prowlarr From e52b38acec78f816440ec14ade45c3fc9061a0ed Mon Sep 17 00:00:00 2001 From: miniluz <42033163+miniluz@users.noreply.github.com> Date: Mon, 11 Aug 2025 01:33:09 +0200 Subject: [PATCH 7/7] Kill bazarr with SIGKILL --- nixarr/bazarr/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixarr/bazarr/default.nix b/nixarr/bazarr/default.nix index 000800a..5d5c54a 100644 --- a/nixarr/bazarr/default.nix +++ b/nixarr/bazarr/default.nix @@ -98,6 +98,7 @@ in { --port ${toString cfg.port} \ --no-update True ''; + KillSignal = "SIGINT"; Restart = "on-failure"; }; };