virtualisation.qemu.consoles

NixOS option

The output console devices to pass to the kernel command line via the console parameter, the primary console is the last item of this list. By default it enables both serial console and tty0. The preferred console (last one) is based on the value of virtualisation.graphics.

type: list of string
Default
[
  "ttyS0,115200n8"
  "tty0"
]
Example
[
  "console=tty1"
]
declared in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →