Use/Install rootless containerd with nerdctl

Preface: Im new to nixos. Im using nixos 23.05.
There is a nix package for nerdctl, but I cant find a way to “enable” rootless in it.
The package itself doesn’t come with the “containerd-rootless-setuptools.sh” script (looked for it with find /. | grep “containerd-rootless-setuptools”), and downloading the release directly from github and executing the script results in an error (cant find /bin/echo). Is there some option I can enable in the config or settings of the containerd package?

I just found out about nerdctl and immediately tried it, running into the same issue.
A shell script like containerd-rootless-setuptools.sh wouldn’t work in the world of NixOS any way.