Use 'systemd-boot' bootloader instead of GRUB
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./modules/bootloader.nix
|
|
||||||
./modules/hardware-configuration.nix # Include the results of the hardware scan.
|
./modules/hardware-configuration.nix # Include the results of the hardware scan.
|
||||||
|
./modules/bootloader.nix
|
||||||
./modules/networking.nix
|
./modules/networking.nix
|
||||||
./modules/users.nix
|
./modules/users.nix
|
||||||
./modules/audio.nix
|
./modules/audio.nix
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.grub.useOSProber = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user