I actually AM an IT expert, and I would bet a lot that it works just fine. It's just USB on the M5, and the iPhone 5 works, so unless Apple dramatically changed the software interface for external accessories to access stored music just for the new Nano (which I seriously doubt), then it'll work perfectly.
But let us know for sure OP!