dotfiles/os/boot/default.nix

14 lines
246 B
Nix

{ pkgs, lib, config, ... }:
{
boot.loader = {
grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = !config.boot.loader.efi.canTouchEfiVariables;
device = "nodev"; # Don't install on MBR
};
};
}