Laptop: Difference between revisions
Tag: Undo |
LucasFA-old (talk | contribs) m Update (rename): hardware.opengl -> hardware.graphics |
||
| Line 104: | Line 104: | ||
Example of a nvidia specialisation: | Example of a nvidia specialisation: | ||
< | <syntaxhighlight lang="nix"> | ||
specialisation = { | specialisation = { | ||
nvidia.configuration = { | nvidia.configuration = { | ||
# Nvidia Configuration | # Nvidia Configuration | ||
services.xserver.videoDrivers = [ "nvidia" ]; | services.xserver.videoDrivers = [ "nvidia" ]; | ||
hardware. | hardware.graphics.enable = true; | ||
# Optionally, you may need to select the appropriate driver version for your specific GPU. | # Optionally, you may need to select the appropriate driver version for your specific GPU. | ||
| Line 128: | Line 128: | ||
}; | }; | ||
}; | }; | ||
</ | </syntaxhighlight> | ||
== Troubleshooting == | == Troubleshooting == | ||