mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-17 00:19:42 +01:00
14 lines
284 B
Nix
14 lines
284 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
|
|
];
|
|
}
|