{ config, pkgs, ... }: { nixpkgs.config.packageOverrides = pkgs: { vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;}; }; hardware.opengl = { enable = true; extraPackages = builtins.attrValues { # TODO should this activate intel stuff here? inherit (pkgs) intel-media-driver # LIBVA_DRIVER_NAME=iHD vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) vaapiVdpau libvdpau-va-gl ; }; }; } # vim: ts=2