nixos-config/modules/opengl.nix
2022-10-26 22:08:29 +02:00

16 lines
253 B
Nix

{ pkgs, ... }: {
hardware.opengl = {
enable = true;
driSupport = true;
extraPackages = with pkgs; [
# compute
intel-compute-runtime
intel-ocl
# encode/decode
vaapiIntel
intel-media-driver
];
};
}