When trying to reinstall Nix using the official installer, you might run into the following error (the UID might vary)
---- oh no! --------------------------------------------------------------------
It seems the build group nixbld already exists, but
with the UID 30000. This script can't really handle
that right now, so I'm going to give up.
You can export NIX_BUILD_GROUP_ID=30000 and re-run.