28 lines
442 B
Nix
28 lines
442 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
hardware.graphics = {
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
intel-media-driver
|
|
intel-compute-runtime
|
|
libvdpau-va-gl
|
|
];
|
|
|
|
extraPackages32 = with pkgs.pkgsi686Linux; [
|
|
intel-media-driver
|
|
];
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
LIBVA_DRIVER_NAME = "iHD";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
intel-gpu-tools
|
|
libva-utils
|
|
clinfo
|
|
];
|
|
}
|