2021-02-06 15:35:38 +01:00
|
|
|
# Boot configuration
|
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
2021-02-07 11:42:08 +01:00
|
|
|
boot = {
|
|
|
|
# Use the GRUB 2 boot loader.
|
|
|
|
loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
# Define on which hard drive you want to install Grub.
|
2023-07-23 22:02:06 +02:00
|
|
|
device = "/dev/disk/by-id/ata-HGST_HUS724020ALA640_PN2181P6J58M1P";
|
2021-02-07 11:42:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
|
|
|
|
kernelModules = [ "dm-snapshot" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
};
|
2021-02-06 15:35:38 +01:00
|
|
|
}
|