From 81a8e123f61716058bdb125e72134636227b70a3 Mon Sep 17 00:00:00 2001 From: Et7f3 Date: Wed, 22 Jun 2022 19:39:54 +0200 Subject: [PATCH] headless: Don't use deprecated vesa. This option is deprecated as per https://github.com/NixOS/nixpkgs/pull/76481 --- nixos/modules/profiles/headless.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/profiles/headless.nix b/nixos/modules/profiles/headless.nix index c17cb287b72..eb29f3d6510 100644 --- a/nixos/modules/profiles/headless.nix +++ b/nixos/modules/profiles/headless.nix @@ -6,8 +6,6 @@ with lib; { - boot.vesa = false; - # Don't start a tty on the serial consoles. systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false; systemd.services."serial-getty@hvc0".enable = false; @@ -15,7 +13,7 @@ with lib; systemd.services."autovt@".enable = false; # Since we can't manually respond to a panic, just reboot. - boot.kernelParams = [ "panic=1" "boot.panic_on_fail" ]; + boot.kernelParams = [ "panic=1" "boot.panic_on_fail" "vga=0x317" "nomodeset" ]; # Don't allow emergency mode, because we don't have a console. systemd.enableEmergencyMode = false;