mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
3fe96bcca1
Fixes #2379. The new name was a misnomer because the values really are X11 video drivers (e.g. ‘cirrus’ or ‘nvidia’), not OpenGL implementations. That it's also used to set an OpenGL implementation for kmscon is just confusing overloading.
20 lines
477 B
Nix
20 lines
477 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with 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.
|
|
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" ];
|
|
}
|