From b5141db274f3f701c8f9ea2d4b5b3441c50ecbe0 Mon Sep 17 00:00:00 2001 From: Eric Cheng Date: Mon, 6 May 2024 00:06:21 -0400 Subject: [PATCH 1/3] fix: typo --- nixarr/nixarr.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixarr/nixarr.nix b/nixarr/nixarr.nix index 6990ff0..c41964c 100644 --- a/nixarr/nixarr.nix +++ b/nixarr/nixarr.nix @@ -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/liadarr' 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 - -" From 68a334c488962325bb1c2af786d2e7a9d28535f2 Mon Sep 17 00:00:00 2001 From: Rasmus Kirk Date: Mon, 24 Jun 2024 10:24:25 +0000 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a09173..805249b 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ a home media server as easy, and pain free, as possible. If you have problems or feedback, feel free to join [the discord](https://discord.gg/n9ga99KwWC). -Note that this is still in a somewhat alpha state, beware! +Note that this is still in a somewhat beta state, beware! - Bugs are around -- Options are still subject to change +- Options generally won't be changed, but I reserve the right - Some options are mostly untested The general format won't change however. If you do still use it, any feedback From 88c99d2f37aabb1e288c3ddc496ff7aed80696ce Mon Sep 17 00:00:00 2001 From: jsecchiero Date: Sun, 23 Jun 2024 21:24:22 +0200 Subject: [PATCH 3/3] Passthrough the credentialsFile transmission option --- nixarr/transmission/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixarr/transmission/default.nix b/nixarr/transmission/default.nix index d98eef3..b3a78f5 100644 --- a/nixarr/transmission/default.nix +++ b/nixarr/transmission/default.nix @@ -234,6 +234,17 @@ in { description = "Transmission web-UI port."; }; + credentialsFile = mkOption { + type = types.path; + description = '' + Path to a JSON file to be merged with the settings. + Useful to merge a file which is better kept out of the Nix store + to set secret config parameters like `rpc-password`. + ''; + default = "/dev/null"; + example = "/var/lib/secrets/transmission/settings.json"; + }; + extraSettings = mkOption { type = types.attrs; default = {}; @@ -339,6 +350,7 @@ in { package = pkgs.transmission_4; openRPCPort = cfg.openFirewall; openPeerPorts = cfg.openFirewall; + credentialsFile = cfg.credentialsFile; settings = { download-dir = downloadDir;