From 1950345f92029a161902cd3b74978bb51bb3104b Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Thu, 17 Dec 2020 11:24:28 -0700 Subject: daeva: add opengl configuration Signed-off-by: Kenny Ballou --- daeva/configuration.nix | 1 + system/opengl.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 system/opengl.nix diff --git a/daeva/configuration.nix b/daeva/configuration.nix index 5f18466..45062dd 100644 --- a/daeva/configuration.nix +++ b/daeva/configuration.nix @@ -28,6 +28,7 @@ ../system/fonts.nix ../system/i18n.nix ../system/networking.nix + ../system/opengl.nix ../system/packages.nix ../system/security.nix ../system/timezone.nix diff --git a/system/opengl.nix b/system/opengl.nix new file mode 100644 index 0000000..8c08641 --- /dev/null +++ b/system/opengl.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + hardware.opengl = { + enable = true; + driSupport = true; + extraPackages = with pkgs; [ + intel-media-driver + vaapiIntel + vaapiVdpau + libvdpau-va-gl + ]; + }; +} -- cgit v1.2.1