I am still a bit puzzled when it comes to persistence.
When I read:
https://grahamc.com/blog/erase-your-darlings/
IIUC the current default is to just keep the state (home, databases, etc).
And the links describe a journey to a (as much as possible) stateless system.
When I look at this
impermanence.url = "github:nix-community/impermanence";
environment.persistence."/nix/persist" = {
directories = [
{ directory = "/srv"; mode="0755"; } # service data
];
};
I wonder would one use impermanence and not just separate subvolume?