Merge #35554: nixos/opengl: unhide and document

+9 -2
+9 -2
nixos/modules/hardware/opengl.nix
··· 34 { 35 options = { 36 hardware.opengl.enable = mkOption { 37 - description = "Whether this configuration requires OpenGL."; 38 type = types.bool; 39 default = false; 40 - internal = true; 41 }; 42 43 hardware.opengl.driSupport = mkOption {
··· 34 { 35 options = { 36 hardware.opengl.enable = mkOption { 37 + description = '' 38 + Whether to enable OpenGL drivers. This is needed to enable 39 + OpenGL support in X11 systems, as well as for Wayland compositors 40 + like sway, way-cooler and Weston. It is enabled by default 41 + by the corresponding modules, so you do not usually have to 42 + set it yourself, only if there is no module for your wayland 43 + compositor of choice. See services.xserver.enable, 44 + programs.sway.enable, and programs.way-cooler.enable. 45 + ''; 46 type = types.bool; 47 default = false; 48 }; 49 50 hardware.opengl.driSupport = mkOption {