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

22 lines
407 B
Nix
Raw Normal View History

# Boot configuration
{ ... }:
{
2021-02-07 11:42:08 +01:00
boot = {
# Use the systemd-boot EFI boot loader.
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
2021-02-07 11:42:08 +01:00
};
initrd = {
availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "usbhid" "sd_mod" ];
2021-02-07 11:42:08 +01:00
kernelModules = [ "dm-snapshot" ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
}