2013-07-03 12:59:00 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2013-10-09 13:30:45 +01:00
|
|
|
with pkgs.lib;
|
|
|
|
|
2013-07-03 12:59:00 +01:00
|
|
|
{
|
2013-09-04 12:05:09 +01:00
|
|
|
imports =
|
2013-07-03 12:59:00 +01:00
|
|
|
[ ../virtualisation/virtualbox-image.nix
|
|
|
|
../installer/cd-dvd/channel.nix
|
|
|
|
../profiles/demo.nix
|
|
|
|
../profiles/clone-config.nix
|
|
|
|
];
|
2013-10-09 12:30:31 +01:00
|
|
|
|
|
|
|
# Allow mounting of shared folders.
|
|
|
|
users.extraUsers.demo.extraGroups = [ "vboxsf" ];
|
2013-10-09 12:33:43 +01:00
|
|
|
|
|
|
|
# Add some more video drivers to give X11 a shot at working in
|
|
|
|
# VMware and QEMU.
|
2014-02-18 22:11:49 +00:00
|
|
|
hardware.opengl.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" ];
|
2013-07-03 12:59:00 +01:00
|
|
|
}
|