Best place to spend a month in Peru

Hey all! If you had to choose one city in Peru to make your base for a month, which would it be?

We would be flying into and out of either Lima or Cusco, so those cities are the top contenders. We'll have like a week after that month to explore without working

My partner and I speak good Spanish. The main things to consider would be having enough interesting stuff to occupy evenings and weekends for a month: museums, places to explore, cool/interesting neighborhoods, hikes, things like language exchanges to meet other travelers. Thanks!