File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 105105 } ;
106106
107107 serverConfig = {
108- BitTorrent . Session . DefaultSavePath = mkOption {
109- type = types . str ;
110- default = "${ cfg . downloadsDir } /default" ;
111- defaultText = literalExpression ''"'' ${config.nixflix.torrentClients.qbittorrent.downloadsDir}/default"'' ;
112- description = "Default save path for downloads without a category." ;
108+ BitTorrent . Session = {
109+ DefaultSavePath = mkOption {
110+ type = types . str ;
111+ default = "${ cfg . downloadsDir } /default" ;
112+ defaultText = literalExpression ''"'' ${config.nixflix.torrentClients.qbittorrent.downloadsDir}/default"'' ;
113+ description = "Default save path for downloads without a category." ;
114+ } ;
115+
116+ DisableAutoTMMByDefault = mkOption {
117+ type = types . bool ;
118+ default = false ;
119+ description = ''
120+ Default Torrent Management Mode. Set to false to enable category save paths.
121+
122+ `true` = `Manual`, `false` = `Automatic`
123+ '' ;
124+ } ;
113125 } ;
114126
115127 Preferences . WebUI . Address = mkOption {
You can’t perform that action at this time.
0 commit comments