blade: enable serial console for GRUB and boot

This commit is contained in:
Luke Granger-Brown 2021-03-14 17:34:08 +00:00
parent ff2be56561
commit bb1178e82c

View file

@ -159,6 +159,17 @@ in {
ProcessSizeMax=0 ProcessSizeMax=0
''; '';
# Enable serial console.
loader.grub.extraConfig = ''
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input console serial
terminal_output console serial
'';
boot.kernelParams = [
"console=tty1"
"console=ttyS0,115200" # <-- /dev/console
];
system.stateVersion = "21.05"; system.stateVersion = "21.05";
}; };
} }