summary refs log tree commit diff
path: root/nixos/modules/hardware/opengl.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-01-25 02:57:28 +0300
committerNikolay Amiantov <ab@fmap.me>2016-01-26 13:42:40 +0300
commitb52acfdf0178a3bd3cd3b359dc9dbc354992aff3 (patch)
tree6c4c0b42ea45f8d27c8836637aaf6cb9f2ab87de /nixos/modules/hardware/opengl.nix
parent1ae1791e8e8b047d2a45221845ca40ed7f928503 (diff)
downloadnixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar.gz
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar.bz2
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar.lz
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar.xz
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.tar.zst
nixpkgs-b52acfdf0178a3bd3cd3b359dc9dbc354992aff3.zip
nixos xserver: remove vaapiDrivers
Use hardware.opengl.extraPackages instead.
Diffstat (limited to 'nixos/modules/hardware/opengl.nix')
-rw-r--r--nixos/modules/hardware/opengl.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix
index fabdfad869c..d3b146be6b3 100644
--- a/nixos/modules/hardware/opengl.nix
+++ b/nixos/modules/hardware/opengl.nix
@@ -93,18 +93,21 @@ in
     hardware.opengl.extraPackages = mkOption {
       type = types.listOf types.package;
       default = [];
+      example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
       description = ''
-        Additional packages to add to OpenGL drivers.
+        Additional packages to add to OpenGL drivers. This can be used
+        to add additional VA-API/VDPAU drivers.
       '';
     };
 
     hardware.opengl.extraPackages32 = mkOption {
       type = types.listOf types.package;
       default = [];
+      example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
       description = ''
         Additional packages to add to 32-bit OpenGL drivers on
         64-bit systems. Used when <option>driSupport32Bit</option> is
-        set.
+        set. This can be used to add additional VA-API/VDPAU drivers.
       '';
     };