about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-11T19·12+0300
committerclbot <clbot@tvl.fyi>2024-02-11T19·16+0000
commit42dd3a57ba319562449a2f52438d5f7481374663 (patch)
tree152220d2c6927a2499a45d464acc9cb72b7e8c35
parent80c683c9ecf0129b5468028856a1443d87c6c64a (diff)
feat(tazjin/khamovnik): add opengl deps for vaapi r/7500
Without this, khamovnik struggles to decode 4K videos smoothly!

Change-Id: Idc63ba7343f601991e5783f06f598a9ebf0eaa28
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10804
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
-rw-r--r--users/tazjin/nixos/khamovnik/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/tazjin/nixos/khamovnik/default.nix b/users/tazjin/nixos/khamovnik/default.nix
index 136e8bb40b56..414301159b87 100644
--- a/users/tazjin/nixos/khamovnik/default.nix
+++ b/users/tazjin/nixos/khamovnik/default.nix
@@ -69,7 +69,10 @@ in
   powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
   hardware.cpu.intel.updateMicrocode = true;
   hardware.enableRedistributableFirmware = true;
-  hardware.opengl.extraPackages = [ pkgs.intel-compute-runtime ];
+  hardware.opengl.extraPackages = with pkgs; [
+    intel-compute-runtime
+    intel-media-driver
+  ];
 
   # from generated configuration.nix
   # Bootloader.