mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-22 17:49:44 +01:00
b1304963c8
I've tested this to work on MacBookAir4,1 and I'm going to deploy it to MacBookAir6,2 today and Lenovo ThinkPad X230 in a week from now. Also, cleaned up Lenovo ThinkPad X230 profile.
12 lines
233 B
Nix
12 lines
233 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
|
|
services.xserver.videoDrivers = [ "intel" ];
|
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
|
vaapiIntel
|
|
vaapiVdpau
|
|
libvdpau-va-gl
|
|
];
|
|
}
|