2021-11-26 18:31:47 +01:00
|
|
|
{pkgs, ...}:
|
|
|
|
{
|
2023-07-18 20:10:07 +02:00
|
|
|
imports = [
|
|
|
|
./default.nix
|
|
|
|
];
|
|
|
|
|
2021-11-26 18:31:47 +01:00
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|