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

This commit is contained in:
fi 2023-08-01 14:21:06 +02:00
parent 6885c40c10
commit 8a16dd0af2
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
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;
}