about summary refs log tree commit diff
path: root/aria2
diff options
context:
space:
mode:
Diffstat (limited to 'aria2')
-rw-r--r--aria2/.local/etc/aria2/aria2.conf18
-rwxr-xr-xaria2/@install10
2 files changed, 28 insertions, 0 deletions
diff --git a/aria2/.local/etc/aria2/aria2.conf b/aria2/.local/etc/aria2/aria2.conf
new file mode 100644
index 0000000..7e15303
--- /dev/null
+++ b/aria2/.local/etc/aria2/aria2.conf
@@ -0,0 +1,18 @@
+bt-max-peers=128
+bt-save-metadata=true
+continue=true
+disable-ipv6=true
+enable-dht=true
+enable-peer-exchange=true
+enable-rpc=false
+follow-torrent=true
+log-level=info
+max-connection-per-server=16
+max-overall-upload-limit=1K
+max-tries=5
+max-upload-limit=1K
+min-split-size=1M
+seed-ratio=0.1
+seed-time=0.1
+stream-piece-selector=default
+timeout=60
diff --git a/aria2/@install b/aria2/@install
new file mode 100755
index 0000000..4e3a8bb
--- /dev/null
+++ b/aria2/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/aria2" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/aria2"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    aria2

Consider giving Nix/NixOS a try! <3