Vin needs 6volt minimum for it's onboard 5volt regulator.
Connect the 5volt output of the 7805 to the 5volt pin of the Nano, not to the Vin pin.
Check if the 7805 gets hot (and shuts down) 30>5volt is a big drop for an analogue regulator.
Better to use a buck converter instead,
Leo..