From 2210c5e56eeaf9e969dd1ee1a760f1c1b3084545 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Tue, 31 Oct 2023 14:04:15 +0000 Subject: [PATCH] hardware/hpm-laptop.nix needs grub bootloader --- hardware/hpm-laptop.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hardware/hpm-laptop.nix b/hardware/hpm-laptop.nix index 77023d4..9548f9c 100755 --- a/hardware/hpm-laptop.nix +++ b/hardware/hpm-laptop.nix @@ -8,6 +8,17 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; + # Use the GRUB 2 boot loader. + boot.loader.grub = { + enable = true; + version = 2; + device = "nodev"; + efiSupport = true; + extraConfig = '' + set timeout=2 + ''; + }; + boot.initrd.availableKernelModules = [ "xhci_pci" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ];