Remove setLdLibraryPath and driSupport options
They have been removed from NixOS. The "hardware.opengl" group is now
renamed to "hardware.graphics".
See: 98cef4c273
Reviewed-by: Aleix Boné <abonerib@bsc.es>
			
			
This commit is contained in:
		
							parent
							
								
									77afdc1883
								
							
						
					
					
						commit
						3f195b6e74
					
				| @ -21,11 +21,7 @@ | |||||||
| 
 | 
 | ||||||
|   # Configure Nvidia driver to use with CUDA |   # Configure Nvidia driver to use with CUDA | ||||||
|   hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production; |   hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production; | ||||||
|   hardware.opengl = { |   hardware.graphics.enable = true; | ||||||
|     enable = true; |  | ||||||
|     driSupport = true; |  | ||||||
|     setLdLibraryPath = true; |  | ||||||
|   }; |  | ||||||
|   nixpkgs.config.allowUnfree = true; |   nixpkgs.config.allowUnfree = true; | ||||||
|   nixpkgs.config.nvidia.acceptLicense = true; |   nixpkgs.config.nvidia.acceptLicense = true; | ||||||
|   services.xserver.videoDrivers = [ "nvidia" ]; |   services.xserver.videoDrivers = [ "nvidia" ]; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user