NixOS/system/modules/boot_loader.nix

16 lines
276 B
Nix

{ ... }:
{
boot.loader = {
efi = {
efiSysMountPoint = "/boot";
canTouchEfiVariables = true;
};
grub = {
enable = true;
efiSupport = true;
useOSProber = true;
device = "nodev"; # used nodev because of efi support
};
};
}