Skip to content

Instantly share code, notes, and snippets.

@Zaczero
Created October 11, 2023 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zaczero/59055969dc71fda0548ca7da5acb18df to your computer and use it in GitHub Desktop.
Save Zaczero/59055969dc71fda0548ca7da5acb18df to your computer and use it in GitHub Desktop.
NixOS TCP BBR Congestion Control
{
boot.kernelPackages = pkgs.linuxPackages_latest; # (optional)
boot.kernelPatches = [{
name = "bbr";
patch = null;
extraStructuredConfig = with pkgs.lib.kernel; {
TCP_CONG_BBR = yes; # enable BBR
DEFAULT_BBR = yes; # use it by default
};
}];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment