2014-04-14 14:26:48 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2013-07-03 11:59:00 +00:00
|
|
|
|
2014-04-14 14:26:48 +00:00
|
|
|
with lib;
|
2013-10-09 12:30:45 +00:00
|
|
|
|
2013-07-03 11:59:00 +00:00
|
|
|
{
|
2013-09-04 11:05:09 +00:00
|
|
|
imports =
|
2013-07-03 11:59:00 +00:00
|
|
|
[ ../virtualisation/virtualbox-image.nix
|
|
|
|
../installer/cd-dvd/channel.nix
|
|
|
|
../profiles/demo.nix
|
|
|
|
../profiles/clone-config.nix
|
|
|
|
];
|
2013-10-09 11:30:31 +00:00
|
|
|
|
2014-05-02 08:44:07 +00:00
|
|
|
# FIXME: UUID detection is currently broken
|
|
|
|
boot.loader.grub.fsIdentifier = "provided";
|
|
|
|
|
2013-10-09 11:30:31 +00:00
|
|
|
# Allow mounting of shared folders.
|
|
|
|
users.extraUsers.demo.extraGroups = [ "vboxsf" ];
|
2013-10-09 11:33:43 +00:00
|
|
|
|
|
|
|
# Add some more video drivers to give X11 a shot at working in
|
|
|
|
# VMware and QEMU.
|
2014-04-29 10:58:54 +00:00
|
|
|
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" ];
|
2013-07-03 11:59:00 +00:00
|
|
|
}
|