mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 02:15:38 +00:00
24 lines
515 B
Nix
24 lines
515 B
Nix
{ config, ... }: {
|
|
|
|
boot.loader = {
|
|
grub = {
|
|
enable = true;
|
|
|
|
# Not sure what this does, but it involves the UEFI/BIOS
|
|
efiSupport = true;
|
|
|
|
# Check for other OSes and make them available
|
|
useOSProber = true;
|
|
|
|
# Install GRUB onto the boot disk
|
|
# device = config.fileSystems."/boot".device;
|
|
|
|
# Don't install GRUB, required for UEFI?
|
|
device = "nodev";
|
|
};
|
|
|
|
# Allows GRUB to interact with the UEFI/BIOS I guess
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
}
|