diff options
author | happysalada <raphael@megzari.com> | 2022-11-08 08:14:00 -0500 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2022-11-08 10:30:10 -0500 |
commit | 2c5abd89c7e917acde9077fc4d12596e35b73e17 (patch) | |
tree | 2408545cd55c26fb6edf08dbea998d6305abc229 /nixos/modules/services/torrent/transmission.nix | |
parent | 0ea6f4c9749d9bc9c079b901279613b441103aa2 (diff) | |
download | nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar.gz nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar.bz2 nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar.lz nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar.xz nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.tar.zst nixpkgs-2c5abd89c7e917acde9077fc4d12596e35b73e17.zip |
rmem_max: define merge function
Diffstat (limited to 'nixos/modules/services/torrent/transmission.nix')
-rw-r--r-- | nixos/modules/services/torrent/transmission.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 5e0d13211bc..9b53f5de143 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -431,7 +431,7 @@ in # https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-udp.c?rev=11956. # at least up to the values hardcoded here: (mkIf cfg.settings.utp-enabled { - "net.core.rmem_max" = mkDefault "4194304"; # 4MB + "net.core.rmem_max" = mkDefault 4194304; # 4MB "net.core.wmem_max" = mkDefault "1048576"; # 1MB }) (mkIf cfg.performanceNetParameters { |