aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-11-20 03:34:39 -0500
committertdro <tdro@users.noreply.github.com>2021-11-20 03:34:39 -0500
commit2eb824499ed7b4d76b29e5068c0d4e0c2f83adaa (patch)
treec1cc0ac7917d27e2c719d3a169b307f23d918d5a
parent9654583a5d00e01d3cd4333071ff96bd0e4599af (diff)
downloaddotfiles-2eb824499ed7b4d76b29e5068c0d4e0c2f83adaa.tar.gz
dotfiles-2eb824499ed7b4d76b29e5068c0d4e0c2f83adaa.tar.bz2
dotfiles-2eb824499ed7b4d76b29e5068c0d4e0c2f83adaa.zip
.local/bin/nixos-test: Disable other substitutes
-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