It would be nice to use this to containerise not just nixos services and modules, but entire machine configs. I'm thinking both things like services.caddy, security.acme, and also, rather than setting config.entrypoint to some pkg, also supporting machine configuration, just like how the native nixos containers work, so config becomes a function: config = { config, pkgs, lib, ... }: { ...
Is there any way to do this sort of thing with nix-snapshotter? For the whole machine config, would it be "as simple" (ha!) as just figuring out what the relevant systemd entry point is and adding some flags so it knows it's in an image?