build04: switch to systemd-boot
This commit is contained in:
parent
0fd909b435
commit
143c0db569
1 changed files with 2 additions and 8 deletions
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
@ -12,13 +11,8 @@
|
||||||
# disable kvm/nixos-tests
|
# disable kvm/nixos-tests
|
||||||
nix.settings.system-features = [ "big-parallel" ]; # sync with roles/remote-builder/aarch64-build04.nix
|
nix.settings.system-features = [ "big-parallel" ]; # sync with roles/remote-builder/aarch64-build04.nix
|
||||||
|
|
||||||
# we use grub because systemd-boot sometimes fail on aarch64/EFI
|
boot.loader.systemd-boot.enable = true;
|
||||||
# XXX check if this is still an issue?
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
boot.loader.grub.devices = [ "nodev" ];
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.efiSupport = true;
|
|
||||||
boot.loader.grub.version = 2;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
|
|
||||||
# Make it easier to recover via serial console in case something goes wrong.
|
# Make it easier to recover via serial console in case something goes wrong.
|
||||||
services.getty.autologinUser = "root";
|
services.getty.autologinUser = "root";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue