From 5a421597b27d8ca6780e39228b9562c426b47f1b Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 24 Jan 2025 10:26:06 -0600 Subject: [PATCH] update downloads dir setting --- nixos/modules/nixos/services/qbittorrent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/nixos/services/qbittorrent/default.nix b/nixos/modules/nixos/services/qbittorrent/default.nix index 5f36b37..eb4cd4d 100644 --- a/nixos/modules/nixos/services/qbittorrent/default.nix +++ b/nixos/modules/nixos/services/qbittorrent/default.nix @@ -51,7 +51,7 @@ in openFirewall = mkOption { type = types.bool; default = false; - description = "Open firewall port for web interface"; + description = "Open firewall ports for qBittorrent"; }; hardening = mkOption { @@ -86,7 +86,7 @@ in QBT_CONFIRM_LEGAL_NOTICE = "1"; QBT_WEBUI_PORT = toString cfg.webuiPort; QBT_TORRENTING_PORT = toString cfg.qbittorrentPort; - QBT_DOWNLOADS_PATH = "${cfg.dataDir}/downloads"; + QBT_DOWNLOADS_PATH = "${cfg.downloadsDir}"; XDG_CONFIG_HOME = cfg.dataDir; XDG_DATA_HOME = cfg.dataDir; CONFIG_DIR = "${cfg.dataDir}/qBittorrent";