19 lines
338 B
Nix
19 lines
338 B
Nix
{ config, pkgs, ... }: {
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
packageOverrides = pkgs: {
|
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
|
};
|
|
};
|
|
hardware = {
|
|
cpu.intel.updateMicrocode = true;
|
|
opengl = {
|
|
extraPackages = with pkgs; [
|
|
vaapiIntel
|
|
vaapiVdpau
|
|
libvdpau-va-gl
|
|
];
|
|
};
|
|
};
|
|
}
|