11 lines
317 B
Nix
11 lines
317 B
Nix
{config, pkgs, ...}: {
|
|
services.xserver.videoDrivers = [ "modesetting" ];
|
|
hardware.graphics = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [
|
|
intel-media-driver # Enable Hardware Acceleration
|
|
vpl-gpu-rt # Enable QSV
|
|
];
|
|
};
|
|
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
|
|
}
|