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