The urban area of Lima covers about 800 km2 (310 sq mi). It is located on mostly flat terrain in the Peruvian coastal plain, within the valleys of the Chillón, RÃmac and LurÃn rivers. The city slopes gently from the shores of the Pacific Ocean into valleys and mountain slopes located as high as 500 metres (1,600 ft) above mean sea level. Within the city there are isolated hills which are not connected to the surrounding hill chains, such as El Agustino, San Cosme, El Pino, La Milla, Muleria and Pro hills. The San Cristobal hill in the Rimac district, which lies directly north of the downtown area, is the local extreme of an Andean hill outgrowth.
This from Wikipedia. Having been Lima for several weeks in the late 70s I can well remember the intense smog and very heavy street traffic. It doesn' t take long however to get out into Andean foothill areas which should offer some climbing challanges. And you can take seaside costal rodes in the
Atacamas desert. The swichback train ride from Lima to the Andean town of Huancayo is not to be missed. (bring oxygen! you get up to almost 16000 feet ). Other than it's Cathedrals Lima is not a beautiful place, but Peru is a fantasic country of rich beauty, contrast, adventure, and culture. I envy you.