Attempt to support both UEFI and BIOS

This commit is contained in:
Sravan Balaji
2024-03-24 15:42:47 -04:00
parent 6c06028e80
commit 8722b995cc
2 changed files with 15 additions and 14 deletions

View File

@@ -32,16 +32,14 @@
boot = {
initrd.enable = true;
loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
systemd-boot.enable = false;
efi.canTouchEfiVariables = false;
grub = {
enable = true;
device = "nodev";
efiSupport = true;
enableCryptodisk = true;
useOSProber = true;
efiInstallAsRemovable = true;
};
};
};