Lets say if we settled down on planet far from the sun, and built greenhouses to live in. Where its enough heat for us. And all the food we need are grown in there aswell.
(this is after our sun has run out of fuel, and expanded so much that the earth is eaten by it.)
I belive it is possible to do this. But will demand insane knowledge and energy. And also countermeassures if the greenhouses are attacked by meteorites.
So those holes need to be sealed automaticly, by some advanced system. And maybe that greenhouse then need to have many layers. So when first layer is hit, it must be fixed before it hits layer 2. And at the same time, if the enviroment outside is poisinous, the poisson will also have to be instantly neutralized.
One can go on and on about this collony.