This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/nix/modules/intel.nix

20 lines
384 B
Nix
Raw Normal View History

2020-10-24 10:03:34 -05:00
{ config, pkgs, ... }: {
2020-10-26 13:15:11 -05:00
services.xserver.videoDrivers = [ "intel" ];
2020-10-24 09:06:34 -05:00
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
};
2020-10-24 21:48:02 -05:00
hardware = {
cpu.intel.updateMicrocode = true;
opengl = {
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
2020-10-24 10:03:34 -05:00
};
2020-10-24 09:06:34 -05:00
}