summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-09 13:33:43 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-09 13:36:37 +0200
commit87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc (patch)
tree21dd632367f5c0cfc81044b10d132161c1138e69
parent3472992188241fa44f4dec0eb3b88ca5ca550ce0 (diff)
downloadnixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar.gz
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar.bz2
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar.lz
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar.xz
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.tar.zst
nixlib-87bea0b09eaa99a663c4d8a32b6b3da1c5352bfc.zip
Add more video drivers to the VM image
This might allow it to work in VMware and QEMU.
-rw-r--r--modules/installer/virtualbox-demo.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/installer/virtualbox-demo.nix b/modules/installer/virtualbox-demo.nix
index 1efb84317ab3..c965be2ad853 100644
--- a/modules/installer/virtualbox-demo.nix
+++ b/modules/installer/virtualbox-demo.nix
@@ -10,4 +10,8 @@
 
   # Allow mounting of shared folders.
   users.extraUsers.demo.extraGroups = [ "vboxsf" ];
+
+  # Add some more video drivers to give X11 a shot at working in
+  # VMware and QEMU.
+  services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" ];
 }