nixos-hardware/common/cpu/intel/default.nix

23 lines
448 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
2018-08-25 10:55:35 +00:00
boot.initrd.kernelModules = [ "i915" ];
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl.extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
}