From c99af9efb0288c5043c400a4cc3d65541cf2549f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 24 Dec 2020 13:35:34 +0530 Subject: Adds transmission and tremc --- configuration.nix | 29 +++++++++++++++++++++++++++++ login.nix | 1 + packages.nix | 15 ++++++++------- 3 files changed, 38 insertions(+), 7 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; diff --git a/login.nix b/login.nix index 584c004..b00fd1f 100644 --- a/login.nix +++ b/login.nix @@ -27,6 +27,7 @@ in { "git" "networkmanager" "docker" + "transmission" ]; shell = pkgs.zsh; }; diff --git a/packages.nix b/packages.nix index 3aa0c6b..e5f48fb 100644 --- a/packages.nix +++ b/packages.nix @@ -42,28 +42,29 @@ let sxiv youtube-dl imagemagick - ]; - - utils = with pkgs; [ + ffmpeg-full + feh w3m mtm lf - libnotify dunst + gotop + tremc + ]; + + utils = with pkgs; [ + libnotify xcwd alsaUtils unzip curl jq wget - gotop killall inxi pciutils udiskie - feh # picom - ffmpeg-full # nm-applet # X stuff -- cgit v1.3.1