So provide a basic income, but also shift some (or all) of the costs of those externalities onto the individual. Your basic income stretches farther if you choose a lifestyle that makes more efficient use of it.
This is already true. You make less money but it stretches farther in many areas outside of major cities. Most people live in these cities because they want to, even with all of the drawbacks. Not because they have to.