From f92499d614d1d5b7bdd23b25012c010dca2381a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 25 Dec 2024 21:37:47 +0100 Subject: [PATCH] add / as substituter If we can re-use the local nix store for installation, we can save time. Especially --build-on-remote has to upload a lot of derivations twice. --- nix/nix-settings.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/nix-settings.nix b/nix/nix-settings.nix index 21ea8f0..72c7968 100644 --- a/nix/nix-settings.nix +++ b/nix/nix-settings.nix @@ -5,7 +5,8 @@ nix.settings.connect-timeout = 5; # Enable flakes - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.extra-experimental-features = [ "nix-command" "flakes" ]; + nix.settings.extra-substituters = [ "/" ]; # The default at 10 is rarely enough. nix.settings.log-lines = lib.mkDefault 25;