Post

this PHP apocalypse is further affirming my idea that easiest threat posture is simply assume patches will not come in time and act like the box is already compromised. no secrets stored at-rest unencrypted, no secrets in nix store, no secrets in argv or cli history or clipboard or terminal output

nothing personal or important stored on always-on machines and certainly not on anything that serves to the web, etc

1 repost11 likes

this is really easy for me with nixOS because killing a machine and then rebuildinh the exact same machine from first principles other than losing files in /home/ is a five minute action (longer if I need to format a disk), and part of why I learned it in the first place but it's very overkill

tailscale always feels like a great solution until you realize it kinda means revealing your entire lan to the Internet if your device gets compromised, unless you do extra configuration

yeah you can set up things that make it harder to do this but also most people don't have their entire system posted to github so you might not need to worry as much

to be clear to people who don't know much about computer security: you don't have to worry about it this much, I just have a lot of web facing stuff that's selfhosted. it is worrying, but this is more about like, the future and not now

the way I run nixOS already makes me think like this on some level because my entire system config sits in a git repo, encrypted secrets and all, minus my login password, drive key, and whatever non-config files end up in ~/ as I'm using the machine