config fixups

This commit is contained in:
arcnmx 2023-04-10 09:38:49 -07:00
parent f67e784990
commit 113706b94f

View file

@ -10,6 +10,7 @@ in {
services.deluge = {
enable = true;
declarative = true;
openFirewall = true;
web = {
enable = true;
};
@ -17,11 +18,18 @@ in {
download_location = "${mediaDir}/download";
move_completed_path = "${mediaDir}/complete";
move_completed = true;
max_upload_speed = 5.0;
max_upload_speed = 10.0;
#share_ratio_limit = 2.0;
max_connections_global = 1024;
max_connections_per_second = 50;
max_active_limit = 100;
max_active_downloading = 75;
max_upload_slots_global = 25;
max_active_seeding = 1;
allow_remote = true;
daemon_port = 58846;
listen_ports = [ 6881 6889 ];
random_port = false;
};
authFile = config.sops.secrets.deluge-auth.path;
};