diff options
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration.xml | 4 |
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> |