Reduce number of parallel connections to cache.
https://github.com/NixOS/nixpkgs/issues/9453
This commit is contained in:
		
							parent
							
								
									6cdb91329d
								
							
						
					
					
						commit
						05428e4f20
					
				@ -12,7 +12,10 @@
 | 
			
		||||
  nix.binaryCaches = [ https://hydra.nixos.org https://cache.nixos.org ];
 | 
			
		||||
  nix.trustedBinaryCaches = [ https://hydra.nixos.org https://cache.nixos.org ];
 | 
			
		||||
  nix.binaryCachePublicKeys = [ "hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" ];
 | 
			
		||||
  nix.extraOptions = "auto-optimise-store = true";
 | 
			
		||||
  nix.extraOptions = ''
 | 
			
		||||
    auto-optimise-store = true
 | 
			
		||||
    binary-caches-parallel-connections = 10
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  networking.networkmanager.enable = true;
 | 
			
		||||
  networking.firewall.enable = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user