1
0
Fork 0
dotfiles/hardware/hosts/sail.nix

24 lines
490 B
Nix
Raw Normal View History

2022-07-30 16:19:49 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
loader.grub.device = "/dev/sda";
initrd = {
availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
kernelModules = [ "nvme" ];
};
2022-09-23 11:23:56 +00:00
kernelModules = [ "tcp_bbr" ];
2022-09-23 11:41:19 +00:00
kernel.sysctl = {
"net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr";
};
2022-07-30 16:19:49 +00:00
};
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
}