From dc4d9c30567f35c6ea477cb034291543dcb4aef1 Mon Sep 17 00:00:00 2001 From: Adam0 Date: Thu, 17 Sep 2026 15:40:43 +0200 Subject: [PATCH] Add Intel iHD media driver for vaapi encode on laptop --- modules/hosts/laptop/hardware.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hosts/laptop/hardware.nix b/modules/hosts/laptop/hardware.nix index acb8ed8..46cbc46 100644 --- a/modules/hosts/laptop/hardware.nix +++ b/modules/hosts/laptop/hardware.nix @@ -3,11 +3,15 @@ # keep-sorted start config, modulesPath, + pkgs, # keep-sorted end ... }: { imports = [(modulesPath + "/installer/scan/not-detected.nix")]; + # TigerLake vaapi encode only comes from the Intel media driver, not mesa. + hardware.graphics.extraPackages = [pkgs.intel-media-driver]; + # keep-sorted start block=yes newline_separated=yes # Kernel modules for laptop hardware support. boot.initrd.availableKernelModules = [ -- 2.51.2