commit 182edfcd41e50d028731be8a097cfce41e8c3058
parent 9e137b3d641ac2784477383ed5467f774eb9f171
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 14 Aug 2023 17:11:38 +0200
shikoku: add aria2p and add more concurrent downloads as well
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/systems/hosts/shikoku.nix b/systems/hosts/shikoku.nix
@@ -103,7 +103,7 @@ in
services.k3s.extraFlags = toString [
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
];
- environment.systemPackages = [ pkgs.k3s ];
+ environment.systemPackages = [ pkgs.k3s pkgs.python310Packages.aria2p ];
programs.ssh.setXAuthLocation = true;
profiles = {
@@ -117,6 +117,7 @@ in
aria2 = {
enable = true;
openPorts = true;
+ extraArguments = "--max-concurrent-downloads=20";
downloadDir = "/data/downloads";
};
bazarr = {