nixos-dotfiles/modules/boot/efi-grub.nix

11 lines
293 B
Nix
Raw Normal View History

{pkgs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.useOSProber = true;
boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.grub.device = "nodev";
}