summary refs log tree commit diff
path: root/nixos/modules/services/x11/xserver.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2019-03-22 13:59:48 +0100
committerVladimír Čunát <vcunat@gmail.com>2019-03-22 14:31:17 +0100
commit11d204a9c4fa5b562b2588af9326d1ee2319481c (patch)
tree57549294f7b7cf00819c6618ea650ccd92a51fdc /nixos/modules/services/x11/xserver.nix
parente85525245c89b5440b62ac667b8dd76c464c16e5 (diff)
downloadnixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar.gz
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar.bz2
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar.lz
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar.xz
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.tar.zst
nixpkgs-11d204a9c4fa5b562b2588af9326d1ee2319481c.zip
nixos docs: improve GPU driver documentation
I'm not 100% sure about the incompatibility lines,
but I believe it's better to discourage these anyway.
If you find better information, feel free to amend...

The 32-bit thing is completely GPU-agnostic, so I can't see why we had
it separately for proprietary drivers and missing for the rest.
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r--nixos/modules/services/x11/xserver.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index c4d5b6a9cde..e767b0eda31 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -246,7 +246,7 @@ in
         default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
         example = [
           "ati_unfree" "amdgpu" "amdgpu-pro"
-          "nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
+          "nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
         ];
         # TODO(@oxij): think how to easily add the rest, like those nvidia things
         relatedPackages = concatLists
@@ -259,6 +259,11 @@ in
           The names of the video drivers the configuration
           supports. They will be tried in order until one that
           supports your card is found.
+          Don't combine those with "incompatible" OpenGL implementations,
+          e.g. free ones (mesa-based) with proprietary ones.
+
+          For unfree "nvidia*", the supported GPU lists are on
+          https://www.nvidia.com/object/unix.html
         '';
       };