flakes/modules/commons/graphics.nix
Chinmay D. Pai f32772e7f2
feat: add latest nixos configuration
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2023-10-12 00:27:24 +05:30

21 lines
415 B
Nix

{pkgs, ...}: {
# Intel graphics support
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
};
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
};
}