13 lines
274 B
Nix
13 lines
274 B
Nix
|
{pkgs, ...}:
|
||
|
{
|
||
|
hardware.opengl = {
|
||
|
enable = true;
|
||
|
extraPackages = with pkgs; [
|
||
|
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||
|
# vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||
|
vaapiVdpau
|
||
|
libvdpau-va-gl
|
||
|
];
|
||
|
};
|
||
|
}
|