update downloads dir setting
This commit is contained in:
parent
01e9ae49ca
commit
5a421597b2
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ in
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Open firewall port for web interface";
|
description = "Open firewall ports for qBittorrent";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardening = mkOption {
|
hardening = mkOption {
|
||||||
|
@ -86,7 +86,7 @@ in
|
||||||
QBT_CONFIRM_LEGAL_NOTICE = "1";
|
QBT_CONFIRM_LEGAL_NOTICE = "1";
|
||||||
QBT_WEBUI_PORT = toString cfg.webuiPort;
|
QBT_WEBUI_PORT = toString cfg.webuiPort;
|
||||||
QBT_TORRENTING_PORT = toString cfg.qbittorrentPort;
|
QBT_TORRENTING_PORT = toString cfg.qbittorrentPort;
|
||||||
QBT_DOWNLOADS_PATH = "${cfg.dataDir}/downloads";
|
QBT_DOWNLOADS_PATH = "${cfg.downloadsDir}";
|
||||||
XDG_CONFIG_HOME = cfg.dataDir;
|
XDG_CONFIG_HOME = cfg.dataDir;
|
||||||
XDG_DATA_HOME = cfg.dataDir;
|
XDG_DATA_HOME = cfg.dataDir;
|
||||||
CONFIG_DIR = "${cfg.dataDir}/qBittorrent";
|
CONFIG_DIR = "${cfg.dataDir}/qBittorrent";
|
||||||
|
|
Loading…
Reference in a new issue