aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-01-14 18:01:51 -0500
committertdro <tdro@users.noreply.github.com>2022-01-14 18:01:51 -0500
commit5affbf3a9b76c76aef7adb1a716f4bc27ce98351 (patch)
treee9755b119d4674afcbdce77598308facc758a297
parentd827332e09592c01b7862de68c1a6c741225a763 (diff)
downloaddotfiles-5affbf3a9b76c76aef7adb1a716f4bc27ce98351.tar.gz
dotfiles-5affbf3a9b76c76aef7adb1a716f4bc27ce98351.tar.bz2
dotfiles-5affbf3a9b76c76aef7adb1a716f4bc27ce98351.zip
.local/bin/nixos-test: Allow unsupported systems
-rwxr-xr-x.local/bin/nixos-test8
1 files changed, 6 insertions, 2 deletions
diff --git a/.local/bin/nixos-test b/.local/bin/nixos-test
index d5e4cfa..e87bd9e 100755
--- a/.local/bin/nixos-test
+++ b/.local/bin/nixos-test
@@ -23,8 +23,12 @@ for configuration in "$@"; do
printf '%s ' "$configuration";
- export NIXPKGS_ALLOW_UNFREE=1
- export NIXOS_CONFIG=$(realpath "$configuration")
+ NIXOS_CONFIG=$(realpath "$configuration")
+
+ export NIXOS_CONFIG \
+ NIXPKGS_ALLOW_UNFREE=1 \
+ NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
+
nixos-rebuild --fast --option substituters 'https://cache.nixos.org' dry-build
done;