nixos-config

NixOS configs for my systems
Log | Files | Refs

commit d779a2d56f48b757fcb51e7005ae38592329aded
parent 2965d18e689adf194dedbac89d9a627865b8daf8
Author: vin <vin@vineetk.net>
Date:   Thu,  9 Jan 2025 00:03:18 -0500

add transmission config

Diffstat:
Mhome.nix | 2--
Mhosts/demiurge/default.nix | 15++++++++++++++-
2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/home.nix b/home.nix @@ -13,7 +13,6 @@ in { dmenu doas kicad - librewolf mlocate mupdf ncdu @@ -21,7 +20,6 @@ in { oathToolkit profanity rclone - transmission_4 tree xdotool xsel diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix @@ -111,6 +111,19 @@ pulse.enable = true; }; + transmission = { + enable = true; + downloadDirPermissions = "770"; + openPeerPorts = true; + + settings = { + download-dir = "/data/torrents/complete/other"; + incomplete-dir = "/data/torrents/incomplete/"; + incomplete-dir-enabled = true; + peer-port = 51413; + }; + }; + xserver = { enable = true; autorun = false; @@ -128,7 +141,7 @@ # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 22 80 443 ]; - #networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedUDPPorts = [ 51413 ]; # Or disable the firewall altogether. # networking.firewall.enable = false;