From 05428e4f2097183748da362665424bc9e8efd45c Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 26 Aug 2015 12:17:52 +0200 Subject: [PATCH] Reduce number of parallel connections to cache. https://github.com/NixOS/nixpkgs/issues/9453 --- common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index ea12b73..ced6fa2 100644 --- a/common.nix +++ b/common.nix @@ -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;