blob: 9e74aca11e50cc1d83bda103f85e660b73163237 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ config, pkgs, ... }:
let
downloadsDir = "/home/imsohexy/Downloads/dl";
incompleteDownloadsDir = "/home/imsohexy/Downloads/dl/incomplete";
watchTorrentFilesOn = "/home/imsohexy/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;
};
};
}
|