2022-04-27 11:23:11 -05:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
|
#boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.grub.device = "/dev/nvme0n1";
|
2023-08-09 12:34:50 -05:00
|
|
|
boot.loader.grub.useOSProber = false;
|
2022-08-02 01:50:50 -05:00
|
|
|
boot.loader.grub.extraEntries = ''
|
2023-08-09 12:34:50 -05:00
|
|
|
menuentry "Windows" --class windows --class os {
|
|
|
|
|
insmod nfts
|
|
|
|
|
search --no-floppy --set=root --fs-uuid A41B-5963
|
|
|
|
|
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
|
2022-08-02 01:50:50 -05:00
|
|
|
}
|
|
|
|
|
'';
|
2022-04-27 11:23:11 -05:00
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
networking.interfaces.enp4s0.useDHCP = true;
|
|
|
|
|
}
|