2018-07-20 23:56:59 +03:00
|
|
|
{ lib, ... }:
|
2013-07-03 15:59:00 +04:00
|
|
|
|
2014-04-14 18:26:48 +04:00
|
|
|
with lib;
|
2013-10-09 16:30:45 +04:00
|
|
|
|
2013-07-03 15:59:00 +04:00
|
|
|
{
|
2013-09-04 15:05:09 +04:00
|
|
|
imports =
|
2013-07-03 15:59:00 +04:00
|
|
|
[ ../virtualisation/virtualbox-image.nix
|
|
|
|
../installer/cd-dvd/channel.nix
|
|
|
|
../profiles/demo.nix
|
|
|
|
../profiles/clone-config.nix
|
|
|
|
];
|
2013-10-09 15:30:31 +04:00
|
|
|
|
2014-08-31 20:18:13 +04:00
|
|
|
# FIXME: UUID detection is currently broken
|
|
|
|
boot.loader.grub.fsIdentifier = "provided";
|
|
|
|
|
2013-10-09 15:30:31 +04:00
|
|
|
# Allow mounting of shared folders.
|
2018-06-30 02:50:32 +03:00
|
|
|
users.users.demo.extraGroups = [ "vboxsf" ];
|
2013-10-09 15:33:43 +04:00
|
|
|
|
|
|
|
# Add some more video drivers to give X11 a shot at working in
|
|
|
|
# VMware and QEMU.
|
2016-11-07 23:36:41 +03:00
|
|
|
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
|
2018-03-05 20:15:34 +03:00
|
|
|
|
|
|
|
powerManagement.enable = false;
|
2018-05-15 01:18:49 +03:00
|
|
|
system.nixos.stateVersion = mkDefault "18.03";
|
2013-07-03 15:59:00 +04:00
|
|
|
}
|