Frostpunk!
That being said, active mains are not that far away from being viable habitats. Repurposing them would not be that difficult if it was suddenly needed. But... whatever we would manage to scrap together would be a temporary solution. With the whole economy and transport network broken, it would not be possible to maintain the technology long-term. Let alone improve it.