nixos/qemu-vm: add -device virtio-keyboard to opts
by default a ps/2 keyboard input is used which seems to cause issues on aarch64-linux when the machine is used high load, causing the keymap qwertz test to always fail and azerty to sometimes fail See https://github.com/NixOS/nixpkgs/issues/147294
This commit is contained in:
parent
8e09025284
commit
39c5525cb1
1 changed files with 1 additions and 0 deletions
|
@ -835,6 +835,7 @@ in
|
||||||
|
|
||||||
# FIXME: Consolidate this one day.
|
# FIXME: Consolidate this one day.
|
||||||
virtualisation.qemu.options = mkMerge [
|
virtualisation.qemu.options = mkMerge [
|
||||||
|
[ "-device virtio-keyboard" ]
|
||||||
(mkIf pkgs.stdenv.hostPlatform.isx86 [
|
(mkIf pkgs.stdenv.hostPlatform.isx86 [
|
||||||
"-usb" "-device usb-tablet,bus=usb-bus.0"
|
"-usb" "-device usb-tablet,bus=usb-bus.0"
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue