l 2 downloading: transmission -> rtorrent
This commit is contained in:
parent
11797ea564
commit
bdb0d3d9cc
@ -2,10 +2,7 @@
|
|||||||
|
|
||||||
with config.krebs.lib;
|
with config.krebs.lib;
|
||||||
|
|
||||||
let
|
{
|
||||||
rpc-password = import <secrets/transmission-pw>;
|
|
||||||
in {
|
|
||||||
|
|
||||||
users.extraUsers = {
|
users.extraUsers = {
|
||||||
download = {
|
download = {
|
||||||
name = "download";
|
name = "download";
|
||||||
@ -39,19 +36,20 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.transmission = {
|
krebs.rtorrent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
web = {
|
||||||
download-dir = "/var/download/finished";
|
enable = true;
|
||||||
incomplete-dir = "/var/download/incoming";
|
enableAuth = true;
|
||||||
incomplete-dir-enabled = true;
|
listenAddress = "9091";
|
||||||
|
authfile = <secrets/torrent-authfile>;
|
||||||
rpc-authentication-required = true;
|
|
||||||
rpc-whitelist-enabled = false;
|
|
||||||
rpc-username = "download";
|
|
||||||
inherit rpc-password;
|
|
||||||
peer-port = 51413;
|
|
||||||
};
|
};
|
||||||
|
rutorrent.enable = true;
|
||||||
|
enableXMLRPC = true;
|
||||||
|
listenPort = 51413;
|
||||||
|
downloadDir = "/var/download/finished";
|
||||||
|
# dump old torrents into watch folder to have them re-added
|
||||||
|
watchDir = "/var/download/watch";
|
||||||
};
|
};
|
||||||
|
|
||||||
krebs.iptables = {
|
krebs.iptables = {
|
||||||
|
Loading…
Reference in New Issue
Block a user