From 4abda434ce6506efb52181797297f639f5135ae5 Mon Sep 17 00:00:00 2001 From: geemili Date: Sun, 14 Jan 2024 19:09:55 -0700 Subject: [PATCH] feat: aria2: load from session file, save session every minute --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 78a2471..73b5e1e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -164,7 +164,7 @@ services.aria2 = { enable = true; - extraArguments = "--bt-external-ip=10.65.64.220"; + extraArguments = "--bt-external-ip=10.65.64.220 --input-file=/var/lib/aria2/aria2.session --save-session-interval=60"; }; systemd.services."aria2" = { bindsTo = [ "netns@wg.service" ];