about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-29 12:58:54 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-29 14:42:36 +0200
commit3fe96bcca168b8b3ca9b9cb56f2568c338b0936d (patch)
tree17d9cf57b9abcf2d6256e6550c0028861ef08ec9 /nixos/doc
parente6b5c0121f2cdaaf1e63b16c74337bb87aae42b2 (diff)
downloadnixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar.gz
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar.bz2
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar.lz
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar.xz
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.tar.zst
nixlib-3fe96bcca168b8b3ca9b9cb56f2568c338b0936d.zip
Rename hardware.opengl.videoDrivers back to services.xserver.videoDrivers
Fixes #2379.
The new name was a misnomer because the values really are X11 video
drivers (e.g. ‘cirrus’ or ‘nvidia’), not OpenGL implementations. That
it's also used to set an OpenGL implementation for kmscon is just
confusing overloading.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/configuration.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/doc/manual/configuration.xml b/nixos/doc/manual/configuration.xml
index 0ffee826dc49..803a3393d156 100644
--- a/nixos/doc/manual/configuration.xml
+++ b/nixos/doc/manual/configuration.xml
@@ -1195,7 +1195,7 @@ driver from a set of X.org drivers (such as <literal>vesa</literal>
 and <literal>intel</literal>).  You can also specify a driver
 manually, e.g.
 <programlisting>
-hardware.opengl.videoDrivers = [ "r128" ];
+services.xserver.videoDrivers = [ "r128" ];
 </programlisting>
 to enable X.org’s <literal>xf86-video-r128</literal> driver.</para>
 
@@ -1238,7 +1238,7 @@ $ systemctl start display-manager.service
 has better 3D performance than the X.org drivers.  It is not enabled
 by default because it’s not free software.  You can enable it as follows:
 <programlisting>
-hardware.opengl.videoDrivers = [ "nvidia" ];
+services.xserver.videoDrivers = [ "nvidia" ];
 </programlisting>
 You may need to reboot after enabling this driver to prevent a clash
 with other kernel modules.</para>