about summary refs log tree commit diff
path: root/hosts/luna/hardware.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-26 13:37:26 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-26 13:37:26 +0200
commit3b4e7e5e902fcef0511ad852023ff6cef4008071 (patch)
tree7859c2a26c9f7e013ef3dcced835099ee2b74c07 /hosts/luna/hardware.nix
parentLuna: Add chromebook touchpad drivers (diff)
downloadnixos-config-3b4e7e5e902fcef0511ad852023ff6cef4008071.tar.gz
nixos-config-3b4e7e5e902fcef0511ad852023ff6cef4008071.tar.bz2
nixos-config-3b4e7e5e902fcef0511ad852023ff6cef4008071.zip
Luna: Add hardware acceleration
Diffstat (limited to '')
-rw-r--r--hosts/luna/hardware.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/luna/hardware.nix b/hosts/luna/hardware.nix
index ce34029..1debe13 100644
--- a/hosts/luna/hardware.nix
+++ b/hosts/luna/hardware.nix
@@ -53,6 +53,12 @@ in
     opengl = {
       enable = true;
       driSupport = true;
+      extraPackages = with pkgs; [
+        intel-media-driver # LIBVA_DRIVER_NAME=iHD
+        vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
+        vaapiVdpau
+        libvdpau-va-gl
+      ];
     };
   };