the general rule in deciding to use ни and не in the negatives is that 'не' will mostly appear with an infinitive and mean (dep on context) 'there is no...'
eg
мне негде сидеть - there's nowhere...