diff --git a/modules/system/hardware/cpu/intel.nix b/modules/system/hardware/cpu/intel.nix index e69de29..e2d11f5 100644 --- a/modules/system/hardware/cpu/intel.nix +++ b/modules/system/hardware/cpu/intel.nix @@ -0,0 +1,17 @@ +{ + config, + lib, + pkgs, + ... +}: let + inherit (lib) mkDefault mkIf; + inherit (config.modules.system.video) nvidia amd; +in { + hardware = { + cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware; + hardware.graphics.extraPackages = with pkgs; [ + intel-vaapi-driver + intel-media-driver + ]; + }; +}