prefect: add GRUB entry for Windows
Alan Pearce alan@alanpearce.eu
Mon, 20 Jun 2022 16:25:14 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M system/prefect.nix → system/prefect.nix
@@ -43,6 +43,11 @@ Option "AllowIndirectGLXProtocol" "off" Option "TripleBuffer" "on" ''; boot.loader.grub.useOSProber = false; + boot.loader.grub.extraEntries = '' + menuentry "Windows" { + chainloader ($drive1)//EFI/Microsoft/Boot/bootmgfw.efi + } + ''; boot.kernelPackages = pkgs.linuxPackages_zen; boot.extraModulePackages = with config.boot.kernelPackages; [