how can i transfer music from my ipod nano to my recently reformatted laptop?
Follow the instructions here > How to use your iPod to move your music to a new computer
As noted from that article, you may need to authorize the computer.
From the iTunes menu bar click Store > Authorize This Computer
Retrieving data ...