Laptop: Difference between revisions

Wimpy (talk | contribs)
Undo revision 16587 by Wimpy (talk)
Tag: Undo
m Update (rename): hardware.opengl -> hardware.graphics
Line 104: Line 104:


Example of a nvidia specialisation:
Example of a nvidia specialisation:
<syntaxHighlight lang=nix>
<syntaxhighlight lang="nix">
specialisation = {  
specialisation = {  
   nvidia.configuration = {  
   nvidia.configuration = {  
     # Nvidia Configuration  
     # Nvidia Configuration  
     services.xserver.videoDrivers = [ "nvidia" ];  
     services.xserver.videoDrivers = [ "nvidia" ];  
     hardware.opengl.enable = true;  
     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>
</syntaxhighlight>


== Troubleshooting ==
== Troubleshooting ==