1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 13:29:43 +01:00
nixos-hardware/common/cpu/intel/default.nix
Lorenzo Manacorda 19b4d5cede intel: add intel-media-driver
Provides hardware accelerated video playback from Broadwell onwards.
2019-11-11 20:39:59 +01:00

15 lines
307 B
Nix

{ config, lib, pkgs, ... }:
{
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
];
}