This commit is contained in:
GarandPLG committed 2025-09-13 23:16:22 +02:00
commit 5057e1effa
179 files changed
+20524

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{ lib
, pkgs
, config
, ...
}:
with lib; let
cfg = config.drivers.intel;
in
{
options.drivers.intel = {
enable = mkEnableOption "Enable Intel Graphics Drivers";
};
config = mkIf cfg.enable {
# OpenGL
hardware.graphics = {
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
};
}