EFI Grub?

This commit is contained in:
Chris Dombroski 2024-05-26 21:43:08 -04:00
parent bda0c45c1b
commit 1332156602

View file

@ -9,13 +9,17 @@
../../modules/smartd.nix
];
boot.loader.grub.enable = true;
boot.loader.grub.zfsSupport = true;
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.loader.grub.devices =
[ "/dev/sda" "/dev/sdb" "/dev/sdc" "/dev/sdd" "/dev/sde" "/dev/sdf" ];
boot.loader.efi.canTouchEfiVariables = false;
boot.loader.grub = {
enable = true;
efiSupport = true;
device = "nodev";
mirroredBoots = [
{ path = "/boot-spare"; }
];
};
boot.supportedFilesystems = [ "vfat" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
networking.hostName = "zeus"; # Define your hostname.
networking.hostId = "9e95b576";