7

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! 🙏

you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 3 points 10 months ago

Check out https://grahamc.com/blog/erase-your-darlings/ ; it uses zfs, but should be easy enough to adapt to your use-case.

[-] algernon@lemmy.ml 1 points 10 months ago

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.

this post was submitted on 27 Oct 2025
7 points (100.0% liked)

Nix / NixOS

2860 readers
1 users here now

Main links

Videos

founded 3 years ago
MODERATORS