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/env/nix/modules/intel.nix

19 lines
338 B
Nix
Raw Normal View History

2020-10-24 10:03:34 -05:00
{ config, pkgs, ... }: {
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
}