summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-12-17 11:24:28 -0700
committerKenny Ballou <kballou@devnulllabs.io>2020-12-17 11:24:28 -0700
commit1950345f92029a161902cd3b74978bb51bb3104b (patch)
treed3f28c558d39ebf7e6accad6b5cdd4ec90214c46
parent3c9656cb179532ba3d65f607a8acbf2c29252836 (diff)
downloadcfg.nix-1950345f92029a161902cd3b74978bb51bb3104b.tar.gz
cfg.nix-1950345f92029a161902cd3b74978bb51bb3104b.tar.xz
daeva: add opengl configuration
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r--daeva/configuration.nix1
-rw-r--r--system/opengl.nix13
2 files changed, 14 insertions, 0 deletions
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
+ ];
+ };
+}