mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
1e621ff423
also disable upower on virtualbox Fixes #36348
24 lines
619 B
Nix
24 lines
619 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" ];
|
|
|
|
powerManagement.enable = false;
|
|
}
|