aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/nixos-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/nixos-test b/.local/bin/nixos-test
index af1286f..354f8f6 100755
--- a/.local/bin/nixos-test
+++ b/.local/bin/nixos-test
@@ -19,4 +19,4 @@ nixfmt "$1"
awk '!s {s=sub("^{$","{ boot.isContainer = true;")}{ print $0 }' "$1" | sponge "$1"
awk '!s {s=sub("^in {$","in { boot.isContainer = true;")}{ print $0 }' "$1" | sponge "$1"
-NIXOS_CONFIG=$(realpath "$1") nixos-rebuild --fast dry-build
+NIXOS_CONFIG=$(realpath "$1") nixos-rebuild --fast --option substituters 'https://cache.nixos.org' dry-build