From 88378c31792ee02e692e8023b8009021feff5604 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Thu, 28 Mar 2024 22:22:40 +0000 Subject: [PATCH] deluge: update config options --- modules/services/downloads.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/services/downloads.nix b/modules/services/downloads.nix index 73e5548..8e7b198 100644 --- a/modules/services/downloads.nix +++ b/modules/services/downloads.nix @@ -149,6 +149,7 @@ in deluge = { enable = true; web.enable = true; + group = "mediaaccess"; dataDir = "/var/lib/deluge"; authFile = "/run/agenix/deluge/auth"; @@ -157,11 +158,18 @@ in config = { download_location = "/media/downloads"; max_connections_global = 1024; + max_upload_speed = 12500; max_download_speed = 25000; + + max_active_seeding = 192; + max_active_downloading = 64; + max_active_limit = 256; dont_count_slow_torrents = true; + + stop_seed_at_ratio = true; stop_seed_ratio = 2; - share_ratio_limit = 2; + enabled_plugins = [ "Label" ]; }; };