2014-04-14 15:26:48 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2013-07-03 12:59:00 +01:00
|
|
|
|
2014-04-14 15:26:48 +01:00
|
|
|
with lib;
|
2013-10-09 13:30:45 +01:00
|
|
|
|
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
|
|
|
|
2014-08-31 17:18:13 +01:00
|
|
|
# FIXME: UUID detection is currently broken
|
|
|
|
boot.loader.grub.fsIdentifier = "provided";
|
|
|
|
|
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.
|
2016-11-07 20:36:41 +00:00
|
|
|
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
|
2018-03-05 17:15:34 +00:00
|
|
|
|
|
|
|
powerManagement.enable = false;
|
2013-07-03 12:59:00 +01:00
|
|
|
}
|