add more settings to deluge
This commit is contained in:
parent
e5d7240ca1
commit
d62702f092
1 changed files with 18 additions and 2 deletions
|
@ -77,7 +77,6 @@ in
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
config = {
|
config = {
|
||||||
download_location = cfg.downloadLocation;
|
download_location = cfg.downloadLocation;
|
||||||
max_upload_speed = -1.0;
|
|
||||||
allow_remote = true;
|
allow_remote = true;
|
||||||
daemon_port = cfg.daemonPort;
|
daemon_port = cfg.daemonPort;
|
||||||
listen_ports = cfg.daemonListenPorts;
|
listen_ports = cfg.daemonListenPorts;
|
||||||
|
@ -90,8 +89,25 @@ in
|
||||||
proxy_tracker_connections = true;
|
proxy_tracker_connections = true;
|
||||||
type = 4; # HTTP
|
type = 4; # HTTP
|
||||||
};
|
};
|
||||||
|
# TODO: expose these
|
||||||
|
max_active_limit = 10000;
|
||||||
|
max_active_downloading = 30;
|
||||||
|
max_active_seeding = 10000;
|
||||||
|
max_connections_global = 1000;
|
||||||
|
max_connections_per_torrent = 50;
|
||||||
|
|
||||||
|
max_download_speed = 1000;
|
||||||
|
max_download_speed_per_torrent = -1;
|
||||||
|
|
||||||
|
max_upload_slots_global = 100;
|
||||||
|
max_upload_slots_per_torrent = 4;
|
||||||
|
max_upload_speed = 200;
|
||||||
|
max_upload_speed_per_torrent = 50;
|
||||||
|
|
||||||
|
dont_count_slow_torrents = true;
|
||||||
|
new_release_check = false;
|
||||||
};
|
};
|
||||||
authFile = "/run/secrets/deluge/auth";
|
authFile = config.sops.secrets."deluge/auth".path;
|
||||||
|
|
||||||
web.enable = true;
|
web.enable = true;
|
||||||
web.port = cfg.webPort;
|
web.port = cfg.webPort;
|
||||||
|
|
Loading…
Reference in a new issue