Cleaned transmission code

This commit is contained in:
rasmus-kirk
2024-03-04 22:31:09 +01:00
parent 38c8332323
commit 21a32be306
+1 -1
View File
@@ -274,7 +274,7 @@ in {
else null; else null;
package = pkgs.transmission_4; package = pkgs.transmission_4;
openRPCPort = false; openRPCPort = false;
openPeerPorts = if cfg.vpn.enable then false else true; openPeerPorts = !cfg.vpn.enable;
settings = settings =
{ {
download-dir = downloadDir; download-dir = downloadDir;