modularize thinkpad hw config

This commit is contained in:
Satria 2026-02-01 19:27:30 +07:00
commit 79368eafd5
5 changed files with 92 additions and 66 deletions

13
modules/hardware/igpu.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
intel-media-driver
intel-compute-runtime
libva-vdpau-driver
libvdpau-va-gl
];
};
}