Enable console on serial port and print public ssh host key when booting

This commit is contained in:
yuri 2023-08-01 14:21:06 +02:00
parent 4b18856559
commit e122ca0006
3 changed files with 24 additions and 1 deletions

View file

@ -1,4 +1,10 @@
{ ... }:
{
# Enable console output on TTY1 and serial console
boot.kernelParams = [
"console=tty1"
"console=ttyS0,115200"
];
services.qemuGuest.enable = true;
}