virtualisation.qemu.consoles
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
- <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>