nixos-config/modules/opengl.nix

16 lines
253 B
Nix
Raw Normal View History

2022-10-26 20:08:29 +00:00
{ pkgs, ... }: {
2022-01-25 00:31:56 +00:00
hardware.opengl = {
enable = true;
driSupport = true;
extraPackages = with pkgs; [
# compute
intel-compute-runtime
intel-ocl
# encode/decode
vaapiIntel
intel-media-driver
];
2022-01-25 00:31:56 +00:00
};
}