First, clone this gist.
nix-shell -A shell -Q --pure
Finally, inside the Nix shell, run
manim render -p -ql example.py OpeningManim && reset.
&& reset part is because for some reason the shell gets broken after you run that command. I suspect it would not happen with previewing (