there are several areas NASA could cooperate with other agencies. the era of individual governments and aerospace companies spending money purely for nationalist or commercial reasons should end.
we still haven't emerged from 60s era space race where there was a race to get a man on the moon. NASA, China and Russia spending money on spy satellites, space missile defence systems or countries like India putting large portions of their GDP into space missions rather than addressing development goals first.
Money for space should be pooled by all countries into a central body and allocated toward projects that have global relevance. If the proposed NASA lunar reactor is a first step toward permanent human settlements then that is good, but I would like to see more cooperation with other space agencies and aerospace (like Space X) pooling money rather than NASA going on an ego trip to make America "great again" in space.