NixOS-Config/nixos/hardware/opengl.nix

13 lines
229 B
Nix

{pkgs, ...}: {
# Enable OpenGL
hardware.opengl = {
enable = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
];
};
}