use systemd-boot instead of grub

This commit is contained in:
Daniel Langbein 2023-10-12 13:03:42 +02:00
parent 316e78f2d9
commit 63cf72a709
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -35,15 +35,18 @@
{ disko.devices.disk.disk1.device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLW128HEGR-000H1_S33ZNX0J129742"; } { disko.devices.disk.disk1.device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLW128HEGR-000H1_S33ZNX0J129742"; }
{ {
boot.loader.grub = { # The host yodaHP did not boot after installation when using grub.
efiSupport = true; #boot.loader.grub = {
efiInstallAsRemovable = true; # # No need to set devices, disko will add all devices that have a EF02 partition to the list already.
}; # # devices = [];
boot.swraid.enable = true; # efiSupport = true;
# Alternative to grub # efiInstallAsRemovable = true;
#boot.loader.systemd-boot.enable = true; #};
# when installing toggle this
#boot.loader.efi.canTouchEfiVariables = false; # Alternative to grub.
# This worked with yodaHP host.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
services.openssh.enable = true; services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = [