We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77e6a4e + ab5d00f commit eaeb75cCopy full SHA for eaeb75c
src/nixos-anywhere.sh
@@ -719,6 +719,10 @@ if [ ${copyHostKeys-n} = "y" ]; then
719
cp -a "\$p" "/mnt/\$p"
720
done
721
fi
722
+# https://stackoverflow.com/a/13864829
723
+if [ ! -z ${NIXOS_NO_CHECK+0} ]; then
724
+ export NIXOS_NO_CHECK
725
+fi
726
nixos-install --no-root-passwd --no-channel-copy --system "$nixosSystem"
727
if [[ ${phases[reboot]} == 1 ]]; then
728
if command -v zpool >/dev/null && [ "\$(zpool list)" != "no pools available" ]; then
0 commit comments