dotfiles/os/boot/default.nix

14 lines
246 B
Nix
Raw Permalink Normal View History

2024-02-17 18:39:09 +01:00
{ pkgs, lib, config, ... }:
{
boot.loader = {
grub = {
enable = true;
efiSupport = true;
2024-02-17 23:35:53 +01:00
efiInstallAsRemovable = !config.boot.loader.efi.canTouchEfiVariables;
2024-02-17 18:39:09 +01:00
device = "nodev"; # Don't install on MBR
};
};
}