Try to update boot for jude

This commit is contained in:
Greg Hellings
2023-08-17 11:11:03 -05:00
parent 536cec290f
commit 6e786e7d59
2 changed files with 21 additions and 11 deletions
+20 -10
View File
@@ -1,17 +1,27 @@
{ ... }:
{
#fileSystems."/boot/efi" = {
# device = "/dev/by-uuid/9466C36266C34428";
# fsType = "auto";
#};
# Use the systemd-boot EFI boot loader.
#boot.loader.systemd-boot.enable = true;
boot.loader.grub.device = "/dev/nvme0n1";
boot.loader.grub.useOSProber = false;
boot.loader.grub.extraEntries = ''
menuentry "Windows" --class windows --class os {
insmod nfts
search --no-floppy --set=root --fs-uuid A41B-5963
chainloader (''${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
'';
boot.loader.efi.canTouchEfiVariables = true;
boot = {
supportedFilesystems = [ "ntfs" ];
loader = {
grub = {
device = "/dev/nvme0n1";
useOSProber = true;
extraEntries = ''
menuentry "Windows" --class windows --class os {
insmod ntfs
chainloader (hd0,2)/Windows/Boot/EFI/bootmgfw.efi
}
'';
};
efi.canTouchEfiVariables = true;
};
};
networking.interfaces.enp4s0.useDHCP = true;
}