* Enable the VirtualBox X11 display and mouse drivers.
svn path=/nixos/trunk/; revision=33130
This commit is contained in:
parent
3ddbe0f9fb
commit
4adc99f9a5
|
@ -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"
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue