aboutsummaryrefslogtreecommitdiff
path: root/modules/torrent.home.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-05-20 19:09:35 +0530
committerAkshay Nair <phenax5@gmail.com>2024-05-20 19:15:59 +0530
commit8f302c8305c9a8e4d14a8741eaf684409341ccb8 (patch)
tree0de9ab35272c7760284c4e69dbdeceec32bea099 /modules/torrent.home.nix
parent46d64759838e2d837a3a6f9ef178edacc429deb8 (diff)
downloadnixos-config-8f302c8305c9a8e4d14a8741eaf684409341ccb8.tar.gz
nixos-config-8f302c8305c9a8e4d14a8741eaf684409341ccb8.zip
Refactor overlays + torrent module
Diffstat (limited to 'modules/torrent.home.nix')
-rw-r--r--modules/torrent.home.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/modules/torrent.home.nix b/modules/torrent.home.nix
deleted file mode 100644
index 9266f44..0000000
--- a/modules/torrent.home.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ config, pkgs, ... }:
-let
- downloadsDir = "/home/imsohexy/Downloads/dl";
- incompleteDownloadsDir = "/home/imsohexy/Downloads/dl/incomplete";
- watchTorrentFilesOn = "/home/an/Downloads/qute";
-in
-{
- services.transmission = {
- enable = true;
- settings = {
- "download-dir" = downloadsDir;
- "download-queue-enabled" = true;
- "download-queue-size" = 5;
- "incomplete-dir" = incompleteDownloadsDir;
- "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;
- "start-added-torrents" = true;
- "trash-original-torrent-files" = false;
- "umask" = 18;
- "utp-enabled" = true;
- "watch-dir" = watchTorrentFilesOn;
- "watch-dir-enabled" = false;
- };
- };
-}