I spent 7 months in Lima, along the coastline, quite a lovely place and cool during night. There isn't much to do in city though, food, accommodation, transportation are cheap. Cusco might be a better choice, It is a beautiful city and then from there you can visit Machu Picchu.
All the best,
Nik