This article is also referenced by the Impermanence page of the NixOS Wiki. Contains methods for ZFS, Btrfs, and others:
https://nixos.wiki/wiki/ImpermanenceI enjoyed attempting this with Impermanence on /home directories. It made me feel like my desktop system was setup very intentionally. The feeling reminded me of when I first setup Arch Linux on an mdraid5.