Merge pull request #178610 from Et7f3/headless-remove-vesa

This commit is contained in:
Janik 2023-07-01 10:19:04 +02:00 committed by GitHub
commit 87cb1d7cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,6 @@
with lib; with lib;
{ {
boot.vesa = false;
# Don't start a tty on the serial consoles. # Don't start a tty on the serial consoles.
systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false; systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false;
systemd.services."serial-getty@hvc0".enable = false; systemd.services."serial-getty@hvc0".enable = false;
@ -15,7 +13,7 @@ with lib;
systemd.services."autovt@".enable = false; systemd.services."autovt@".enable = false;
# Since we can't manually respond to a panic, just reboot. # 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. # Don't allow emergency mode, because we don't have a console.
systemd.enableEmergencyMode = false; systemd.enableEmergencyMode = false;