We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37cd540 + 29f6973 commit da2b6f4Copy full SHA for da2b6f4
src/nixos-anywhere.sh
@@ -586,9 +586,8 @@ generateHardwareConfig() {
586
fi
587
if [[ ${hasNixOSFacter} == "n" ]]; then
588
step "Generating facter.json using nixos-facter from nixpkgs"
589
- runSshNoTty -o ConnectTimeout=10 "${maybeSudo}" \
590
- nix run "${nixOptions[@]}" \
591
- nixpkgs#nixos-facter >"$hardwareConfigPath"
+ runSshNoTty -o ConnectTimeout=10 \
+ nix run nixpkgs#nixos-facter "${nixOptions[@]}" >"$hardwareConfigPath"
592
else
593
step "Generating facter.json using nixos-facter"
594
runSshNoTty -o ConnectTimeout=10 "${maybeSudo}" "nixos-facter" >"$hardwareConfigPath"
0 commit comments