← Back to context

Comment by SuperSandro2000

4 days ago

I delete your entire system file system right now. How fucked are you?

With NixOS: I don't care. You can recover from a half deleted root file system.

My root filesystem is actually just in-memory for NixOS using tmpfs [1]. If you were to trash my root filesystem, I just reboot and it's restored. I know of no other operating system that allows something like that.

To quote a friend: "A new car smell on every reboot."

[1] https://elis.nu/blog/2020/05/nixos-tmpfs-as-root/

  • Well OpenWRT does, but probably not what you want on your laptop :-)

    • Heh, probably not, though my homemade router is actually based on NixOS with the ephemeral tmpfs root, so kind of the same idea as OpenWRT.