mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2024-11-21 22:03:19 +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"; }
|
{ 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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user