From 7af492ac56e638cd40e7942f3616b63e5f4aaef1 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sat, 16 Nov 2024 23:15:15 +0100 Subject: [PATCH] chore(Zephyrus): Added Accelerated Video Playback related config --- hosts/Zephyrus/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/Zephyrus/hardware-configuration.nix b/hosts/Zephyrus/hardware-configuration.nix index e5eed84..8732245 100644 --- a/hosts/Zephyrus/hardware-configuration.nix +++ b/hosts/Zephyrus/hardware-configuration.nix @@ -74,14 +74,20 @@ "steamdeck-hw-theme" ]; + nixpkgs.config.packageOverrides = pkgs: { + intel-vaapi-driver = pkgs.intel-vaapi-driver.override {enableHybridCodec = true;}; + }; hardware.graphics = { enable = true; extraPackages = with pkgs; [ + intel-media-driver + intel-vaapi-driver vaapiVdpau libvdpau-va-gl mesa ]; }; + hardware.nvidia = { modesetting.enable = true;