Enable pertinent Intel drivers for HW acceleration
This commit is contained in:
parent
cf92337f0b
commit
2c0034fc82
|
@ -2,7 +2,9 @@
|
|||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
let hybrid-codec-vaapiIntel = vaapiIntel.override { enableHybridCodec = true; };
|
||||
|
||||
in {
|
||||
# Kernel configuration
|
||||
boot = {
|
||||
kernelPackages = linuxPackages_zen;
|
||||
|
@ -23,7 +25,9 @@ with pkgs;
|
|||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
services.fwupd.enable = true;
|
||||
|
||||
hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||
# GPU Hardware acceleration
|
||||
hardware.opengl.extraPackages =
|
||||
[ intel-media-driver hybrid-codec-vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||
|
||||
# Bootloader configuration
|
||||
boot.loader = {
|
||||
|
|
Loading…
Reference in New Issue