NVIDIA: Add Cudatoolkit to systemPackages
							parent
							
								
									b61299b0b2
								
							
						
					
					
						commit
						5a889d63f0
					
				| 
						 | 
					@ -34,6 +34,11 @@
 | 
				
			||||||
  nixpkgs.config.allowUnfree = true;
 | 
					  nixpkgs.config.allowUnfree = true;
 | 
				
			||||||
  nixpkgs.config.cudaSupport = true;
 | 
					  nixpkgs.config.cudaSupport = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Add cuda to system environment
 | 
				
			||||||
 | 
					  environment.systemPackages = with pkgs; [
 | 
				
			||||||
 | 
					    cudatoolkit
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Use Prebuilt Cached Versions of CUDA Packages
 | 
					  # Use Prebuilt Cached Versions of CUDA Packages
 | 
				
			||||||
  nix.settings = {
 | 
					  nix.settings = {
 | 
				
			||||||
    substituters = [
 | 
					    substituters = [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue