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

This commit is contained in:
fi 2024-11-20 05:46:39 +01:00
parent a03df6b14d
commit 92eb5d7385
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;
}