dotfiles/nixos/gfx-intel.nix

22 lines
405 B
Nix
Raw Normal View History

2022-03-10 12:25:23 +00:00
{ config, pkgs, ... }: {
2019-07-05 23:11:21 +01:00
services.xserver.videoDrivers = [ "intel" ];
2019-04-21 10:18:35 +01:00
hardware.opengl = {
enable = true;
driSupport = true;
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
};
nixpkgs.config = {
packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
};
2019-07-05 23:11:21 +01:00
}