mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
switch to grub for dual-boot convenience
This commit is contained in:
parent
9a21db7165
commit
2539151df9
@ -1,8 +1,23 @@
|
|||||||
{ ... }: {
|
{ config, ... }: {
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
boot.loader = {
|
||||||
# These came with the system and I don't know if they're required.
|
grub = {
|
||||||
boot.loader.systemd-boot.enable = true;
|
enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = 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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user