From ec26df5b808d3c1dcaab9c3b01cfa52aafbed4a4 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 24 Jul 2026 15:44:14 +0100 Subject: [PATCH] macbook: add intel VA-API drivers for hw video decode --- hosts/hardware/FredOS-Macbook.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/hardware/FredOS-Macbook.nix b/hosts/hardware/FredOS-Macbook.nix index 9fb7ec2..2feca9d 100644 --- a/hosts/hardware/FredOS-Macbook.nix +++ b/hosts/hardware/FredOS-Macbook.nix @@ -35,6 +35,13 @@ hardware.enableRedistributableFirmware = true; hardware.facetimehd.enable = true; + # VA-API hardware video decode. iHD covers Broadwell/gen8+ (2014-2015), + # i965 covers Haswell/gen7.5 (2013); libva picks whichever the GPU is. + hardware.graphics.extraPackages = with pkgs; [ + intel-media-driver + intel-vaapi-driver + ]; + # Pin to the 6.12 LTS kernel: the out-of-tree broadcom_sta (Wi-Fi) and # facetimehd (iSight) modules don't build against linuxPackages_latest # (7.x) — broadcom-sta's wl_cfg80211 ops no longer match the cfg80211 API.