Installing Nix or Guix without root permissions?
You can try it installing nix using PRoot. Or you can build for your custom prefix:
NIX_STORE_DIR=/opt/custom/store \
NIX_STATE_DIR=/opt/custom/var/nix \
NIX_DB_DIR=/opt/custom/var/nix/db \
nix-build ...