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