nixpkgs/nixos/modules/installer/virtualbox-demo.nix

20 lines
476 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2013-10-09 13:30:45 +01:00
with pkgs.lib;
{
imports =
[ ../virtualisation/virtualbox-image.nix
../installer/cd-dvd/channel.nix
../profiles/demo.nix
../profiles/clone-config.nix
];
# 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.
hardware.opengl.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" ];
}