Skip to content

Commit

Permalink
add / as substituter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mic92 committed Jan 13, 2025
1 parent 33b510d commit f92499d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/nix-settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f92499d

Please sign in to comment.