dotfiles/nixos/gfx-intel.nix

25 lines
457 B
Nix
Raw Normal View History

2019-04-21 10:18:35 +01: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;
2019-08-08 21:23:29 +01:00
driSupport32Bit = true;
2019-08-04 20:13:54 +01:00
s3tcSupport = true;
2019-04-21 10:18:35 +01:00
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
}