nixos-config/modules/hardware/intel.nix

14 lines
292 B
Nix
Raw Normal View History

2021-08-31 16:01:29 +00:00
{
pkgs, ...
}:
{
2021-08-31 16:15:06 +00:00
hardware = {
cpu.intel.updateMicrocode = true;
# NOTE: Assuming each Intel CPU has integrated graphics
opengl.extraPackages = with pkgs; [ vaapiIntel intel-media-driver ];
};
2021-08-31 16:01:29 +00:00
# TODO: Remove?
services.xserver.videoDrivers = [ "modesetting" "fbdev" ];
}