* Enable the VirtualBox X11 display and mouse drivers.

svn path=/nixos/trunk/; revision=33130
This commit is contained in:
Eelco Dolstra 2012-03-16 01:03:09 +00:00
parent 3ddbe0f9fb
commit 4adc99f9a5

View file

@ -45,6 +45,21 @@ in
exec = "${kernel.virtualboxGuestAdditions}/sbin/VBoxService --foreground";
};
services.xserver.videoDrivers = mkOverride 50 [ "virtualbox" ];
services.xserver.config =
''
Section "InputDevice"
Identifier "VBoxMouse"
Driver "vboxmouse"
EndSection
'';
services.xserver.serverLayoutSection =
''
InputDevice "VBoxMouse"
'';
};
}