Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

qbittorrent: exclude .exe and .txt files from being downloaded

These are either viruses or just files I don't need

yemou 7b33a85b e187a778

+19 -12
+19 -12
modules/qbittorrent.nix
··· 81 81 webuiPort = 8082; 82 82 serverConfig = { 83 83 LegalNotice.Accepted = true; 84 - BitTorrent.Session = { 85 - DefaultSavePath = "/torrents"; 86 - Interface = "vpn"; 87 - InterfaceName = "vpn"; 88 - TorrentContentLayout = "Subfolder"; 89 - Preallocation = true; 90 - QueueingSystemEnabled = false; 91 - GlobalMaxInactiveSeedingMinutes = 43200; 92 - GlobalMaxSeedingMinutes = 43200; 93 - MaxUploads = 25; 94 - MaxUploadsPerTorrent = 25; 95 - ShareLimitAction = "RemoveWithContent"; # TODO: For some reason this gets overridden at start up 84 + BitTorrent = { 85 + ExcludedFileNamesEnabled = true; 86 + Session = { 87 + DefaultSavePath = "/torrents"; 88 + ExcludedFileNames = lib.strings.join ", " [ 89 + "*.exe" 90 + "*.txt" 91 + ]; 92 + Interface = "vpn"; 93 + InterfaceName = "vpn"; 94 + TorrentContentLayout = "Subfolder"; 95 + Preallocation = true; 96 + QueueingSystemEnabled = false; 97 + GlobalMaxInactiveSeedingMinutes = 30 * 24 * 60; 98 + GlobalMaxSeedingMinutes = 30 * 24 * 60; 99 + MaxUploads = 25; 100 + MaxUploadsPerTorrent = 25; 101 + ShareLimitAction = "RemoveWithContent"; # TODO: For some reason this gets overridden at start up 102 + }; 96 103 }; 97 104 Network.PortForwardingEnabled = false; 98 105 Preferences = {