diff --git a/configuration.nix b/configuration.nix index 049e169..299805a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = {