{...}: { boot.kernelParams = [ "console=ttyS1,115200" "console=tty1" ]; boot.loader.grub.extraConfig = '' serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal_input console serial terminal_output console serial ''; }