mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
6de20a7fe4
This needs to be included for VirtualBox to detect that it needs to start the video driver. "modesetting" is also set in virtualbox-image.nix but this line seems to take precedence over that one (even though the virtualbox-image.nix has a higher override?) This should fix the problems that I and a few others have been having with the .ova files built for nixos.org. Fixes #20007.
23 lines
584 B
Nix
23 lines
584 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports =
|
|
[ ../virtualisation/virtualbox-image.nix
|
|
../installer/cd-dvd/channel.nix
|
|
../profiles/demo.nix
|
|
../profiles/clone-config.nix
|
|
];
|
|
|
|
# FIXME: UUID detection is currently broken
|
|
boot.loader.grub.fsIdentifier = "provided";
|
|
|
|
# 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" "modesetting" ];
|
|
}
|