* Fix the xserver job on non-nvidia cards.
svn path=/nixos/trunk/; revision=8800
This commit is contained in:
parent
f8d77aa58e
commit
c76fa154a6
|
@ -62,6 +62,7 @@ let
|
||||||
++ optional (videoDriver == "i810") xorg.xf86videoi810
|
++ optional (videoDriver == "i810") xorg.xf86videoi810
|
||||||
++ optional (videoDriver == "intel") xorg.xf86videointel;
|
++ optional (videoDriver == "intel") xorg.xf86videointel;
|
||||||
|
|
||||||
|
|
||||||
configFile = stdenv.mkDerivation {
|
configFile = stdenv.mkDerivation {
|
||||||
name = "xserver.conf";
|
name = "xserver.conf";
|
||||||
src = ./xserver.conf;
|
src = ./xserver.conf;
|
||||||
|
@ -99,6 +100,12 @@ let
|
||||||
Option \\\"AddARGBGLXVisuals\\\" \\\"true\\\" \\n \"
|
Option \\\"AddARGBGLXVisuals\\\" \\\"true\\\" \\n \"
|
||||||
export extensions=\"Option \\\"Composite\\\" \\\"Enable\\\" \\n \"
|
export extensions=\"Option \\\"Composite\\\" \\\"Enable\\\" \\n \"
|
||||||
|
|
||||||
|
else
|
||||||
|
export moduleSection='Load \"glx\" \\n \\
|
||||||
|
Load \"dri\" '
|
||||||
|
export screen=
|
||||||
|
export device=
|
||||||
|
export extensions=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
substituteAll $src $out
|
substituteAll $src $out
|
||||||
|
|
Loading…
Reference in New Issue