diff --git a/home/services/aria2c.nix b/home/services/aria2c.nix index 534fae0..35ccb72 100644 --- a/home/services/aria2c.nix +++ b/home/services/aria2c.nix @@ -7,7 +7,7 @@ ariang = { Unit = { Description = "AriaNg: Web frontend for aria2c"; - After = [ "network.target" "aria2c.service" ]; + After = [ "aria2c.service" ]; }; Install = { WantedBy = [ "default.target" ]; @@ -23,7 +23,6 @@ Unit = { Description = "Aria2c Download Manager"; Documentation = [ "man:aria2c(1)" ]; - After = [ "network.target" ]; }; Install = { WantedBy = [ "default.target" "ariang.service" ]; diff --git a/home/services/transmission.nix b/home/services/transmission.nix index 5322e42..0036708 100644 --- a/home/services/transmission.nix +++ b/home/services/transmission.nix @@ -9,7 +9,6 @@ Unit = { Description = "Transmission Daemon"; Documentation = [ "man:transmission-daemon(1)" ]; - After = [ "network.target" ]; }; Install = { WantedBy = [ "default.target" ]; @@ -17,7 +16,10 @@ Service = { Type = "simple"; ExecStart = '' - ${transmission-daemon} -f -c "${torrents-dir}/init" --incomplete-dir "${torrents-dir}/.incomplete" --download-dir "${torrents-dir}/downloads" --encryption-preferred --portmap --dht --lpd --utp --peerport 51414 --port 9092 + ${transmission-daemon} -f --encryption-preferred --portmap --dht --lpd --utp --peerport 51414 --port 9092 \ + -c "${torrents-dir}/init" \ + --incomplete-dir "${torrents-dir}/.incomplete" \ + --download-dir "${torrents-dir}/downloads" \ ''; }; };