Graphics: Difference between revisions
S-aditya-k (talk | contribs) point to new renamed option |
m 'glxinfo' has been renamed to/replaced by 'mesa-demos' |
||
| Line 30: | Line 30: | ||
Mesa can installed using the option <code>hardware.graphics.enable</code>, but note that most desktop environment modules set this themselves anyway. This option writes the driver files to <code>/run/opengl-driver</code>. Additional graphics drivers packages can be added using <code>hardware.graphics.extraPackages</code>. | Mesa can installed using the option <code>hardware.graphics.enable</code>, but note that most desktop environment modules set this themselves anyway. This option writes the driver files to <code>/run/opengl-driver</code>. Additional graphics drivers packages can be added using <code>hardware.graphics.extraPackages</code>. | ||
To verify which Mesa driver is used: <code>nix shell nixpkgs# | To verify which Mesa driver is used: <code>nix shell nixpkgs#mesa-demos -c glxinfo</code> | ||