diff --git a/ops/nixos/lib/blade.nix b/ops/nixos/lib/blade.nix index ee66b912ec..4c23ce687c 100644 --- a/ops/nixos/lib/blade.nix +++ b/ops/nixos/lib/blade.nix @@ -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"; };