mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
19b4d5cede
Provides hardware accelerated video playback from Broadwell onwards.
15 lines
307 B
Nix
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
|
|
];
|
|
}
|