Skip to content

Commit

Permalink
replace aria2 with transmission
Browse files Browse the repository at this point in the history
  • Loading branch information
0x77dev committed Jan 4, 2025
1 parent 5d39440 commit 8b69f2a
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions systems/nixos/tomato/services/storage.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
{ pkgs, ... }: {
services.aria2 = {
systemd.services.transmission.vpnConfinement = {
enable = true;
rpcSecretFile = "/run/secrets/aria2/rpc-secret";
settings = {
enable-rpc = true;
rpc-listen-all = true;
rpc-listen-port = 6800;
dir = "/data/share/Downloads";
max-concurrent-downloads = 16;
max-connection-per-server = 16;
min-split-size = "1M";
split = 16;
max-overall-download-limit = 0;
max-download-limit = 0;
max-overall-upload-limit = "1M";
max-upload-limit = "50K";
continue = true;
allow-overwrite = true;
disk-cache = "64M";
};
vpnNamespace = "wg";
};

systemd.services.aria2.vpnConfinement = {
services.transmission = {
enable = true;
vpnNamespace = "wg";
settings = {
"rpc-bind-address" = "192.168.15.5";
};
};

services.samba = {
Expand Down

0 comments on commit 8b69f2a

Please sign in to comment.