In my previous post, I asked whether a certain subvolume layout would work well for NixOS, and if not, how it could be adapted.
Now that I know the layout does work as intended, I’m wondering what NixOS-specific subvolumes might be worth adding to it. The layout was originally designed for more traditional Linux distributions, so I’d like to tailor it a bit more to NixOS.
My goal is to achieve the same kind of clean, minimal system snapshots — ones that let me roll back safely without accidentally losing files or user data.
I’d really appreciate any advice or examples of good NixOS-oriented subvolume setups. Thanks in advance! 🙏
Check out https://grahamc.com/blog/erase-your-darlings/ ; it uses zfs, but should be easy enough to adapt to your use-case.
I’ve been happily using impermanence for well over a year now, with BTRFS under my persistent volume on most hosts (and tmpfs for
/, because that was easier, and I don’t need the safety of having snapshots of my impermanent stuff), and it gets me that great freshly installed system feeling on every boot, and incredibly convenient backups.Can recommend.


