mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03: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" ];
|
|
}
|