diff options
Diffstat (limited to '.local/bin/nixos-test')
-rwxr-xr-x | .local/bin/nixos-test | 8 |
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; |