From 233031c59461d66de2e14e4c124158b2babf5f83 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 25 May 2022 18:48:40 +0200 Subject: [PATCH] config.nix: enable builders to use substitutes --- .config/nixpkgs/config.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/nixpkgs/config.nix b/.config/nixpkgs/config.nix index 938d7af..7049b14 100644 --- a/.config/nixpkgs/config.nix +++ b/.config/nixpkgs/config.nix @@ -33,4 +33,10 @@ pathsToLink = [ "/share" "/bin" "/etc" ]; }; }; + + nix.distributedBuilds = true; + # useful when the builder has a faster internet connection than yours + nix.extraOptions = '' + builders-use-substitutes = true + ''; }