There are options for 2fa for desktop, for Windows and Linux^. You could have multiple devices with your 2fa codes, makes it not as bad if your phone breaks.
^ (though from my experience with the Windows ones they are not as robust, but they get the job done)
Edit: syntax jank…
I mean, how could we with the lead in our water