snowhawk: no more os-prober

main
Zynh Ludwig 2024-11-03 18:02:57 -08:00
parent c5d34f3735
commit 8ab25ee76f
1 changed files with 9 additions and 1 deletions

View File

@ -132,9 +132,17 @@ in
boot.loader.grub = {
enable = true;
efiSupport = true;
useOSProber = true;
device = "nodev";
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;