snowhawk: no more os-prober

This commit is contained in:
Zynh Ludwig 2024-11-03 18:02:57 -08:00
parent c5d34f3735
commit 8ab25ee76f

View file

@ -132,9 +132,17 @@ in
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = true;
efiSupport = true; efiSupport = true;
useOSProber = true;
device = "nodev"; device = "nodev";
theme = pkgs.rose-pine-grub; theme = pkgs.rose-pine-grub;
extraEntries = ''
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 1A0A-CEB2
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
'';
}; };
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;