`nix profile` for non-full-system generations?

I have a custom-built daemon that I run with a simple systemd unit. I want to make a little tool to be able to have generations, rollback, etc for it. But since it can have sometimes 20+ deploys in a single day, it feels like this should be done outside of a full nixos rebuild.

I was looking at how nix-darwin, home-manager, and system-manager do this since they also have generations and rollbacks, and from what I can piece together so far it seems like they’re all using nix profile with a custom directory. I think that makes sense, and I can see how it’d work, but I’m hoping for some confirmation that I’m on the right tack?

Also does any one know of any good blog posts where they talk about using nix profile but not in the common user-environment way? All my searching so far just comes up with “here’s how to install a package with nix” type posts.