nix-config/hosts/nixos/porthos/boot.nix

24 lines
437 B
Nix
Raw Normal View History

# Boot configuration
{ ... }:
{
2021-02-07 11:42:08 +01:00
boot = {
# Use the GRUB 2 boot loader.
loader.grub = {
enable = true;
version = 2;
# Define on which hard drive you want to install Grub.
device = "/dev/sda";
};
initrd = {
availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
kernelModules = [ "dm-snapshot" ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
}