Keep a long runway in an emergency fund, keep your professional network warm, always be ready to bounce if your employer tries to change your quality of life for the worse (mandatory return to an office somewhere, for example). (Disclosure: This is how I operate, and have worked from home for over 7 years.)
[1] https://www.flexjobs.com/blog/post/companies-switching-remot... ("27 Companies That Have Switched to Long-Term Remote Work")