summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-03-04 17:33:01 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-03-04 17:33:01 +0100
commit498374a8bd76a22769ed959d7d1ba0104a71e561 (patch)
treed0c79994071b04fb1ac7b7ecdf8368bc101602e3 /nixos/modules/hardware
parent9dc62dd915d04a2333e02a4f737fd959ce871d1b (diff)
parentc255b108188cab1131f50631c923936e3dcceb99 (diff)
downloadnixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar.gz
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar.bz2
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar.lz
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar.xz
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.tar.zst
nixlib-498374a8bd76a22769ed959d7d1ba0104a71e561.zip
Merge #35554: nixos/opengl: unhide and document
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/opengl.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix
index c2c36f02a143..d9646704e6f6 100644
--- a/nixos/modules/hardware/opengl.nix
+++ b/nixos/modules/hardware/opengl.nix
@@ -34,10 +34,17 @@ in
 {
   options = {
     hardware.opengl.enable = mkOption {
-      description = "Whether this configuration requires OpenGL.";
+      description = ''
+        Whether to enable OpenGL drivers. This is needed to enable
+        OpenGL support in X11 systems, as well as for Wayland compositors
+        like sway, way-cooler and Weston. It is enabled by default
+        by the corresponding modules, so you do not usually have to
+        set it yourself, only if there is no module for your wayland
+        compositor of choice. See services.xserver.enable,
+        programs.sway.enable, and programs.way-cooler.enable.
+      '';
       type = types.bool;
       default = false;
-      internal = true;
     };
 
     hardware.opengl.driSupport = mkOption {