about summary refs log tree commit diff
path: root/third_party/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/default.nix')
-rw-r--r--third_party/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 87cdc5c821f2..4a9363c49f76 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -125,4 +125,10 @@ in exposed // {
 
   # Make NixOS available
   nixos = import "${nixpkgsSrc}/nixos";
+
+  # Build a Chromium with VAAPI (hardware-accelerated video decoding)
+  # enabled. This is useful for Stadia on desktop.
+  chromiumVaapi = nixpkgs.chromium.override {
+    useVaapi = true;
+  };
 }