Files
haschel/modules/boot.nix
Atridad Lahiji 8a8df0e9f5
All checks were successful
Deploy NixOS / deploy (push) Successful in 33s
Fixed a bunch of warnings now that I have a working linter
2026-02-23 14:52:59 -07:00

18 lines
326 B
Nix

{ 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";
};
}