Go to /nix/var/nix/profiles/
and remove symlinks for generations you want to delete, then nix store gc
.
Indeed I didn’t see an obvious place where this is documented - either I didn’t look in the right place yet or that might be something that’s worth improving