nixos/qemu-vm: Don't try enabling graphics/mouse on non-x86

Needs to be figured out some day, just disable them for now.
This commit is contained in:
Tuomas Tynkkynen 2017-11-24 14:43:50 +02:00
parent 43cb964e17
commit 0a2eda7a7e

View File

@ -439,7 +439,9 @@ in
virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
virtualisation.qemu.options = [ "-vga std" "-usbdevice tablet" ];
# FIXME: Figure out how to make this work on non-x86
virtualisation.qemu.options =
mkIf (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [ "-vga std" "-usbdevice tablet" ];
# Mount the host filesystem via 9P, and bind-mount the Nix store
# of the host into our own filesystem. We use mkVMOverride to