Files
haschel/modules/boot.nix
2026-02-11 01:09:49 -07:00

18 lines
336 B
Nix

{ config, pkgs, ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/sda";
configurationLimit = 10;
};
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = [ "tcp_bbr" ];
boot.kernel.sysctl = {
"net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr";
};
}