diff options
author | Janik <80165193+Janik-Haag@users.noreply.github.com> | 2023-07-01 10:19:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 10:19:04 +0200 |
commit | 87cb1d7cd2b7d55b6add2e91806a26685df0e35a (patch) | |
tree | 70b6cb02e2bf6172b265c4bfe0d1431690f93e54 /nixos | |
parent | 39bcff1c1be742b2ac3964ce7fbd70edd6f3c18c (diff) | |
parent | 81a8e123f61716058bdb125e72134636227b70a3 (diff) |
Merge pull request #178610 from Et7f3/headless-remove-vesa
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/profiles/headless.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/headless.nix b/nixos/modules/profiles/headless.nix index c17cb287b72b0..eb29f3d65106c 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; |