Comment by tombert

4 days ago

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.