forked from mirrors/nixpkgs
Merge #35554: nixos/opengl: unhide and document
This commit is contained in:
commit
498374a8bd
|
@ -34,10 +34,17 @@ in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
hardware.opengl.enable = mkOption {
|
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;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
internal = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.opengl.driSupport = mkOption {
|
hardware.opengl.driSupport = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue