summary refs log tree commit diff stats
path: root/modules/hardware/bare-metal.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware/bare-metal.nix')
-rw-r--r--modules/hardware/bare-metal.nix5
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" ];