Nix configurations for my homelab
0

Configure Feed

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

Edit qBittorrent preferences

+21 -17
+15 -15
flake.lock
··· 111 111 ] 112 112 }, 113 113 "locked": { 114 - "lastModified": 1764998300, 115 - "narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=", 114 + "lastModified": 1765217760, 115 + "narHash": "sha256-BVVyAodLcAD8KOtR3yCStBHSE0WAH/xQWH9f0qsxbmk=", 116 116 "owner": "nix-community", 117 117 "repo": "home-manager", 118 - "rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb", 118 + "rev": "e5b1f87841810fc24772bf4389f9793702000c9b", 119 119 "type": "github" 120 120 }, 121 121 "original": { ··· 220 220 }, 221 221 "nixpkgs": { 222 222 "locked": { 223 - "lastModified": 1765094762, 224 - "narHash": "sha256-rE8XLdLoGWSPbEtbUx3zn9uIqR+WExEbHNLjY/PGwTg=", 223 + "lastModified": 1765270179, 224 + "narHash": "sha256-g2a4MhRKu4ymR4xwo+I+auTknXt/+j37Lnf0Mvfl1rE=", 225 225 "owner": "NixOS", 226 226 "repo": "nixpkgs", 227 - "rev": "efed18dfab8df143928588590e6093cf99f0e663", 227 + "rev": "677fbe97984e7af3175b6c121f3c39ee5c8d62c9", 228 228 "type": "github" 229 229 }, 230 230 "original": { ··· 252 252 }, 253 253 "nixpkgs-stable": { 254 254 "locked": { 255 - "lastModified": 1765054996, 256 - "narHash": "sha256-5VtFSptZZuCBLTQbFHAFhFtjyp1jjBw4cWS1/lsHsF4=", 255 + "lastModified": 1765240259, 256 + "narHash": "sha256-51aLq0FNBVgpoE0zyioB/K3FKPFMwcL8abfeCLnxAVQ=", 257 257 "owner": "NixOS", 258 258 "repo": "nixpkgs", 259 - "rev": "4462df3c8ee33ebe051abec244e73052c862457e", 259 + "rev": "18982440f876f2b880351ebfa2568592c08cc0f5", 260 260 "type": "github" 261 261 }, 262 262 "original": { ··· 338 338 "rust-overlay": "rust-overlay" 339 339 }, 340 340 "locked": { 341 - "lastModified": 1765030468, 342 - "narHash": "sha256-athpo8MuvhhNgU4N93Rx/j+RTyasqMO2FPmgcGKNzGQ=", 341 + "lastModified": 1765224616, 342 + "narHash": "sha256-WVI3IhZReUjvkzDYzf1Doma220Fn4OR5YVMbGxRYZnU=", 343 343 "owner": "roc-lang", 344 344 "repo": "roc", 345 - "rev": "90441419601305db1dc3638a0c956240efee9533", 345 + "rev": "ea76b7b1ee2c2725e08c9763b143b42285e5cffd", 346 346 "type": "github" 347 347 }, 348 348 "original": { ··· 392 392 "nixpkgs": "nixpkgs_3" 393 393 }, 394 394 "locked": { 395 - "lastModified": 1765079830, 396 - "narHash": "sha256-i9GMbBLkeZ7MVvy7+aAuErXkBkdRylHofrAjtpUPKt8=", 395 + "lastModified": 1765231718, 396 + "narHash": "sha256-qdBzo6puTgG4G2RHG0PkADg22ZnQo1JmSVFRxrD4QM4=", 397 397 "owner": "Mic92", 398 398 "repo": "sops-nix", 399 - "rev": "aeb517262102f13683d7a191c7e496b34df8d24c", 399 + "rev": "7fd1416aba1865eddcdec5bb11339b7222c2363e", 400 400 "type": "github" 401 401 }, 402 402 "original": {
+6 -2
modules/qbittorrent.nix
··· 86 86 Interface = "vpn"; 87 87 InterfaceName = "vpn"; 88 88 TorrentContentLayout = "Subfolder"; 89 + Preallocation = true; 89 90 QueueingSystemEnabled = false; 91 + GlobalMaxInactiveSeedingMinutes = 43200; 92 + GlobalMaxSeedingMinutes = 43200; 93 + ShareLimitAction = "RemoveWithContent"; # TODO: For some reason this gets overridden at start up 90 94 }; 91 95 Network.PortForwardingEnabled = false; 92 96 Preferences = { ··· 95 99 LocalHostAuth = false; 96 100 AuthSubnetWhitelistEnabled = true; 97 101 AuthSubnetWhitelist = lib.strings.join ", " [ 98 - "192.168.2.1" 99 - (lib.optionalString (config.networking.hostName == "lily") config.garden.info.network.lutea.netbird-ip) 102 + "192.168.2.1/32" 103 + (lib.optionalString (config.networking.hostName == "lily") "${config.garden.info.network.lutea.netbird-ip}/32") 100 104 ]; 101 105 }; 102 106 };