From 83bb9ac090044b24807c9ce19dd3d7c5fb21b2cc Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sun, 10 Aug 2025 16:29:35 +0800 Subject: [PATCH] aria2 config --- suites/home.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/suites/home.nix b/suites/home.nix index 2b1ff05..0823837 100644 --- a/suites/home.nix +++ b/suites/home.nix @@ -4,4 +4,16 @@ userEmail = "mail@fern.garden"; userName = "Fern Garden"; }; + + programs.aria2 = { + enable = true; + settings = { + max-concurrent-downloads = 5; + max-connection-per-server = 16; + min-split-size = "8M"; + split = 32; + disk-cache = "64M"; + file-allocation = "falloc"; + }; + }; }