aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-24 13:35:34 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-24 13:35:34 +0530
commitc99af9efb0288c5043c400a4cc3d65541cf2549f (patch)
treea001e0f55125c1444981215b92de01e119db97b2 /configuration.nix
parent701cbf5a03a73dd1d06ec65f20750bcb041df555 (diff)
downloadnixos-config-c99af9efb0288c5043c400a4cc3d65541cf2549f.tar.gz
nixos-config-c99af9efb0288c5043c400a4cc3d65541cf2549f.zip
Adds transmission and tremc
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix29
1 files changed, 29 insertions, 0 deletions
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;