snowhawk: no more os-prober
This commit is contained in:
parent
c5d34f3735
commit
8ab25ee76f
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue