Seriously, please have some form of backup for your files. I lost a whole bunch of scripts and settings for the singular crime of having suboptimal backup scripts, meaning some of my most important things weren't backed up, but a bunch of other stuff I do not need day-to-day have. The 3-2-1 backup rule is a good rule to follow for the average person who has stuff they want to never lose, but also just backup files even if you can't follow it. Just keep something that automatically backups your files to a different computer, or a different hard drive. Use Syncthing, rsync, whatever, just have at least 1 copy of everything you need. If only the AI bubble popped so we could afford hard drives!
Hard to believe I managed to mess this up...