16 lines
352 B
Nix
16 lines
352 B
Nix
{pkgs, ...}: {
|
|
# Enable OpenGL
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
package = pkgs.unstable.mesa.drivers;
|
|
package32 = pkgs.unstable.pkgsi686Linux.mesa.drivers;
|
|
extraPackages = with pkgs; [
|
|
vulkan-loader
|
|
vulkan-validation-layers
|
|
vulkan-extension-layer
|
|
];
|
|
};
|
|
}
|