Switch to systemd-boot
This commit is contained in:
parent
88848f4000
commit
60214632c1
@ -96,16 +96,14 @@ with deviceSpecific; {
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
timeout = 1;
|
||||
} // (if deviceSpecific.devInfo.legacy or false then { # Non-UEFI config
|
||||
grub.enable = true;
|
||||
grub.version = 2;
|
||||
grub.useOSProber = true;
|
||||
timeout = 1;
|
||||
} // (if deviceSpecific.devInfo.legacy or false then { # Non-UEFI config
|
||||
grub.device = "/dev/sda";
|
||||
} else { # UEFI config
|
||||
grub.efiSupport = true;
|
||||
grub.device = "nodev";
|
||||
grub.efiInstallAsRemovable = true; # NVRAM is unreliable
|
||||
systemd-boot.enable = true;
|
||||
});
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
consoleLogLevel = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user