From 3c3c3dab6e0feb63a45d4caf1cfd5cca32595599 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 6 Nov 2023 22:30:39 +0100 Subject: [PATCH] nixy/sysctl: set BRR congestion control --- nixy/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixy/configuration.nix b/nixy/configuration.nix index c4c87ec..c67fc8a 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -38,6 +38,10 @@ binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"]; kernelPackages = pkgs.linuxPackages_latest; kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"]; + kernel.sysctl = { + "net.core.default_qdisc" = "fq"; + "net.ipv4.tcp_congestion_control" = "bbr"; + }; loader.efi.canTouchEfiVariables = true; loader.systemd-boot = { editor = false;