Merge pull request #86473 from bachp/virtualbox-vmsvga
This commit is contained in:
commit
07cebeffb8
@ -49,7 +49,7 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Click on Settings / Display / Screen and select VBoxVGA as Graphics Controller
|
Click on Settings / Display / Screen and select VMSVGA as Graphics Controller
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -68,7 +68,7 @@ in
|
|||||||
SUBSYSTEM=="misc", KERNEL=="vboxguest", TAG+="systemd"
|
SUBSYSTEM=="misc", KERNEL=="vboxguest", TAG+="systemd"
|
||||||
'';
|
'';
|
||||||
} (mkIf cfg.x11 {
|
} (mkIf cfg.x11 {
|
||||||
services.xserver.videoDrivers = mkOverride 50 [ "virtualbox" "modesetting" ];
|
services.xserver.videoDrivers = mkOverride 50 [ "vmware" "virtualbox" "modesetting" ];
|
||||||
|
|
||||||
services.xserver.config =
|
services.xserver.config =
|
||||||
''
|
''
|
||||||
|
@ -72,6 +72,7 @@ in {
|
|||||||
audiocontroller = "ac97";
|
audiocontroller = "ac97";
|
||||||
audio = "alsa";
|
audio = "alsa";
|
||||||
audioout = "on";
|
audioout = "on";
|
||||||
|
graphicscontroller = "vmsvga";
|
||||||
rtcuseutc = "on";
|
rtcuseutc = "on";
|
||||||
usb = "on";
|
usb = "on";
|
||||||
usbehci = "on";
|
usbehci = "on";
|
||||||
|
@ -19,6 +19,7 @@ let
|
|||||||
dlopenLibs = [
|
dlopenLibs = [
|
||||||
{ name = "libdbus-1.so"; pkg = dbus; }
|
{ name = "libdbus-1.so"; pkg = dbus; }
|
||||||
{ name = "libXfixes.so"; pkg = xorg.libXfixes; }
|
{ name = "libXfixes.so"; pkg = xorg.libXfixes; }
|
||||||
|
{ name = "libXrandr.so"; pkg = xorg.libXrandr; }
|
||||||
];
|
];
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user