Fix nixos-rebuild.sh to depend on Nix

And therefore always choose the correct architecture for the rebuilt
system regardless for the PATH setting of the user.
Merge pull request #2888 from nilcons/no-random-arch-downgrades

Fix nixos-rebuild.sh to depend on Nix