feat(ops/nixos/nugget): Add chromium with VAAPI patches

These patches enable hardware-accelerated video decoding, which is
useful for Stadia.

The main issue with this is that Hydra doesn't currently cache
Chromium with these patches, which means that it is built from scratch
which takes in the order of 5 hours on an otherwise unused nugget.
This commit is contained in:
Vincent Ambo 2020-04-17 12:43:25 +01:00
parent b4bf0b37b0
commit 066d34b50e
2 changed files with 8 additions and 2 deletions

View file

@ -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;
};
}