about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-10-09T22·51+0200
committertazjin <mail@tazj.in>2021-10-10T11·01+0000
commit5a902b53c5213d107ae7290ec8946fc72976e5a1 (patch)
treecfb636fa769698b723a8d895c4d43309e12a38fd /users/tazjin
parente7c0d6eb12abc26dacc5649af827b51fdac3f749 (diff)
feat(tazjin/tverskoy): Attempt to enable hardware video acceleration r/2959
Change-Id: I0592f5f9be9b01d7809e4d6a2d282e3398dbed4d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3706
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index a694d5b1ead1..6ef229e5636d 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -93,6 +93,14 @@ in lib.fix(self: {
     cpu.amd.updateMicrocode = true;
     enableRedistributableFirmware = true;
     bluetooth.enable = true;
+
+    opengl = {
+      enable = true;
+      extraPackages = with pkgs; [
+        vaapiVdpau
+        libvdpau-va-gl
+      ];
+    };
   };
 
   networking = {