In headless deployments, don't start agetty on the console
This commit is contained in:
parent
88a9d7a9ca
commit
4143ff2280
@ -10,7 +10,10 @@ with pkgs.lib;
|
|||||||
boot.vesa = false;
|
boot.vesa = false;
|
||||||
boot.initrd.enableSplashScreen = false;
|
boot.initrd.enableSplashScreen = false;
|
||||||
services.ttyBackgrounds.enable = false;
|
services.ttyBackgrounds.enable = false;
|
||||||
services.mingetty.ttys = [ ];
|
|
||||||
|
# Don't start a tty on the serial consoles.
|
||||||
|
boot.systemd.services."serial-getty@ttyS0".enable = false;
|
||||||
|
boot.systemd.services."serial-getty@hvc0".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" "stage1panic=1" ];
|
boot.kernelParams = [ "panic=1" "stage1panic=1" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user