5v 1a USB power supply, Is it ok if i power my nano through the USB port?

I think this is the way i fried it, thank you! 5v phone charger works, it doesn't heat up at all.