feat: intel encoding or so lololo
This commit is contained in:
parent
b1167e8ad4
commit
62ce6b0f45
5 changed files with 98 additions and 32 deletions
11
hosts/saberofxebec/intel.nix
Normal file
11
hosts/saberofxebec/intel.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{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"; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue