Files
nixos/hosts/jude/boot.nix
T

28 lines
590 B
Nix
Raw Normal View History

2022-04-27 11:23:11 -05:00
{ ... }:
{
2023-08-17 11:11:03 -05:00
#fileSystems."/boot/efi" = {
# device = "/dev/by-uuid/9466C36266C34428";
# fsType = "auto";
#};
2022-04-27 11:23:11 -05:00
# Use the systemd-boot EFI boot loader.
#boot.loader.systemd-boot.enable = true;
2023-08-17 11:11:03 -05:00
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;
};
};
2022-04-27 11:23:11 -05:00
networking.interfaces.enp4s0.useDHCP = true;
}