From c99af9efb0288c5043c400a4cc3d65541cf2549f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 24 Dec 2020 13:35:34 +0530 Subject: Adds transmission and tremc --- configuration.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 0d6d454..3ec0bfc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -40,6 +40,35 @@ in { home = { stateVersion = "21.03"; }; }; + services.transmission = { + enable = true; + settings = { + "download-dir" = "/home/imsohexy/Downloads/dl"; + "download-queue-enabled" = true; + "download-queue-size" = 5; + "incomplete-dir" = "/home/imsohexy/Downloads/dl/incomplete"; + "incomplete-dir-enabled" = true; + "peer-port" = 51413; + "peer-port-random-high" = 65535; + "peer-port-random-low" = 49152; + "prefetch-enabled" = true; + "rename-partial-files" = true; + "rpc-authentication-required" = false; + "rpc-bind-address" = "127.0.0.1"; + "rpc-enabled" = true; + "rpc-port" = 9091; + "rpc-whitelist-enabled" = true; + "script-torrent-done-enabled" = false; + "script-torrent-done-filename" = ""; + "start-added-torrents" = true; + "trash-original-torrent-files" = false; + "umask" = 18; + "utp-enabled" = true; + "watch-dir" = "/home/an/Downloads/qute"; + "watch-dir-enabled" = false; + }; + }; + # X11 config services.xserver = { enable = true; -- cgit v1.3.1