OpenGL: Difference between revisions
imported>Samuela No edit summary |
imported>Samuela No edit summary |
||
Line 1: | Line 1: | ||
You can enable OpenGL by setting | You can enable OpenGL by setting <code>hardware.opengl.enable = true;</code> in your <code>/etc/nixos/configuration.nix</code>. | ||
OpenGL must break purity due to the need for hardware-specific linkage. Intel, AMD, and Nvidia have different drivers for example. On NixOS, these libraries are symlinked under | OpenGL must break purity due to the need for hardware-specific linkage. Intel, AMD, and Nvidia have different drivers for example. On NixOS, these libraries are symlinked under |