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.
nixOptions
nixos-facter
1 parent abfb275 commit 29f6973Copy full SHA for 29f6973
src/nixos-anywhere.sh
@@ -587,8 +587,7 @@ generateHardwareConfig() {
587
if [[ ${hasNixOSFacter} == "n" ]]; then
588
step "Generating facter.json using nixos-facter from nixpkgs"
589
runSshNoTty -o ConnectTimeout=10 \
590
- nix run "${nixOptions[@]}" \
591
- nixpkgs#nixos-facter >"$hardwareConfigPath"
+ 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