You may be interested in nix snapshotter, which can run nix packages in containerd.
https://news.ycombinator.com/item?id=37407758