dotfiles/nixos/gfx-intel.nix
Cyryl Płotnicki 1fe2d1479f add steam
2019-08-08 21:23:29 +01:00

24 lines
457 B
Nix

{ config, pkgs, ... }:
{
services.xserver.videoDrivers = [ "intel" ];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
s3tcSupport = true;
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
};
nixpkgs.config = {
packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
};
}