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

@ -158,6 +158,17 @@ in {
Storage=none
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";
};