Basic question, usb cable, relay, and 5v fan

"Vin" on a Nano goes to the input of the regulator. Nothing to do with USB.

Still, if you imagine otherwise ... :roll_eyes: