mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
18 lines
408 B
Nix
18 lines
408 B
Nix
|
{ pkgs, config, ... }:
|
||
|
{
|
||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||
|
};
|
||
|
hardware.opengl = {
|
||
|
enable = true;
|
||
|
extraPackages = with pkgs; [
|
||
|
intel-media-driver
|
||
|
vaapiIntel
|
||
|
vaapiVdpau
|
||
|
libvdpau-va-gl
|
||
|
intel-compute-runtime
|
||
|
];
|
||
|
};
|
||
|
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
|
||
|
}
|