1 # Common configuration for headless machines (e.g., Amazon EC2
11 # Don't start a tty on the serial consoles.
12 systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false;
13 systemd.services."serial-getty@hvc0".enable = false;
14 systemd.services."getty@tty1".enable = false;
15 systemd.services."autovt@".enable = false;
17 # Since we can't manually respond to a panic, just reboot.
18 boot.kernelParams = [ "panic=1" "boot.panic_on_fail" ];
20 # Don't allow emergency mode, because we don't have a console.
21 systemd.enableEmergencyMode = false;
23 # Being headless, we don't need a GRUB splash image.
24 boot.loader.grub.splashImage = null;