NixOS-Config/nixos/hardware/opengl.nix

18 lines
268 B
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{
config,
pkgs,
...
}: {
# Enable OpenGL
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
];
};
}