diff options
author | Alan Pearce | 2018-09-24 16:08:09 +0200 |
---|---|---|
committer | Alan Pearce | 2018-09-24 16:08:09 +0200 |
commit | a114b12027fbd82484833a7a2ded35273de39e3b (patch) | |
tree | fa86d89578139834eab62d73db9ebd0bb196fc73 /modules/hardware | |
parent | 474a3757e7eb9d57d040c6f95c3b689c17288bca (diff) | |
download | nixos-configuration-a114b12027fbd82484833a7a2ded35273de39e3b.tar.lz nixos-configuration-a114b12027fbd82484833a7a2ded35273de39e3b.tar.zst nixos-configuration-a114b12027fbd82484833a7a2ded35273de39e3b.zip |
bare-metal: tweak TCP congestion control
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/bare-metal.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/hardware/bare-metal.nix b/modules/hardware/bare-metal.nix index eacc9f4..9d79fb5 100644 --- a/modules/hardware/bare-metal.nix +++ b/modules/hardware/bare-metal.nix @@ -11,6 +11,11 @@ hardware.cpu.intel.updateMicrocode = true; + boot.kernel.sysctl = { + "net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp"; + "net.ipv4.tcp_congestion_control" = "illinois"; + }; + boot.tmpOnTmpfs = true; fileSystems."/".options = [ "noatime" "nodiratime" ]; |