mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 06:39:09 -04:00
added transmission.nix
This commit is contained in:
@@ -17,6 +17,7 @@ in
|
|||||||
./runner.nix
|
./runner.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./transmission.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.zfs.extraPools = [
|
boot.zfs.extraPools = [
|
||||||
|
|||||||
28
systems/jeeves/transmission.nix
Normal file
28
systems/jeeves/transmission.nix
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
vars = import ./vars.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
transmission-rss
|
||||||
|
];
|
||||||
|
services.transmission = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.transmission_4;
|
||||||
|
home = "${vars.media_docker_configs}/transmission";
|
||||||
|
group = "users";
|
||||||
|
openRPCPort = true;
|
||||||
|
openPeerPorts = true;
|
||||||
|
openFirewall = true;
|
||||||
|
webHome = pkgs.flood-for-transmission;
|
||||||
|
settings = {
|
||||||
|
message-level = 2;
|
||||||
|
incomplete-dir-enabled = true;
|
||||||
|
incomplete-dir = "${vars.torrenting_transmission}/incomplete";
|
||||||
|
download-dir = "${vars.torrenting_transmission}/download";
|
||||||
|
download-queue-enabled = false;
|
||||||
|
peer-limit-global = 10000;
|
||||||
|
peer-limit-per-torrent = 100;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user