There's a NASA funded lunar colony simulation game for MS-DOS circa 1991. You begin with $10K ;)
Playable on archive via DOSBox:
Playable on archive via DOSBox:
1: https://store.steampowered.com/app/39000/Moonbase_Alpha/
For the habitats, you need to hook up power and thermal pipes. As long as you connect the habitats together through the white tubes, they only need one hookup with electric/thermal for the entire site.
It seems to take ~ a month in game time for the increased habitat capacity to show up in the 'Population...' menu.