summary refs log tree commit diff stats
path: root/modules/hardware/bare-metal.nix
diff options
context:
space:
mode:
authorAlan Pearce2018-09-30 19:19:08 +0200
committerAlan Pearce2018-09-30 19:19:08 +0200
commitc74a9e9fefee59a23759de6791b19771316691fc (patch)
tree43c60762f28a45175fe2fbb16b4cb6857a0e52bd /modules/hardware/bare-metal.nix
parent5f4723df19ab14b917b98677aa74d20aaf5a6557 (diff)
parenta114b12027fbd82484833a7a2ded35273de39e3b (diff)
downloadnixfiles-c74a9e9fefee59a23759de6791b19771316691fc.tar.lz
nixfiles-c74a9e9fefee59a23759de6791b19771316691fc.tar.zst
nixfiles-c74a9e9fefee59a23759de6791b19771316691fc.zip
Merge branch 'master' of https://git.alanpearce.eu/nixos-configuration
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 eacc9f40..9d79fb50 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" ];