For condos and apartment buildings by far the most common method of heating is district heating (teleheating) [1], and historically this has been very carbon intensive, even though cogeneration of both heat and electricity in one plant is quite efficient (efficiency > 80%; most Finnish thermal power plants are cogen). Fossil fuels and peat are being replaced with more sustainable (mostly wood-based) fuels, but attaining the emission goals requires burning less fuel, period, which means technologies like geothermal boreholes and large-scale heatpump facilities.
SMR nuclear reactors, if they ever become mainstream, would be an excellent source of clean heat and electricity for cities. Current nuclear power plants are located (by design) too far from cities for it to be economical to pipe their waste heat to where it's needed.