mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2024-12-23 02:36:05 +01:00
use systemd-boot instead of grub
This commit is contained in:
parent
316e78f2d9
commit
63cf72a709
@ -35,15 +35,18 @@
|
||||
{ disko.devices.disk.disk1.device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLW128HEGR-000H1_S33ZNX0J129742"; }
|
||||
|
||||
{
|
||||
boot.loader.grub = {
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
boot.swraid.enable = true;
|
||||
# Alternative to grub
|
||||
#boot.loader.systemd-boot.enable = true;
|
||||
# when installing toggle this
|
||||
#boot.loader.efi.canTouchEfiVariables = false;
|
||||
# The host yodaHP did not boot after installation when using grub.
|
||||
#boot.loader.grub = {
|
||||
# # No need to set devices, disko will add all devices that have a EF02 partition to the list already.
|
||||
# # devices = [];
|
||||
# efiSupport = true;
|
||||
# efiInstallAsRemovable = true;
|
||||
#};
|
||||
|
||||
# Alternative to grub.
|
||||
# This worked with yodaHP host.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
|
Loading…
Reference in New Issue
Block a user