In casual speech, yeah means yes and nah means no.
English, unlike some other languages, uses polarity-based answers.
Example:
(1) ‘Is he not coming?’
a. Yes. (‘He is not coming’)
b. No. (‘He is not coming’)
Answer a is correct for languages that use truth-based (agreement-based) answers.
Answer b is correct for English and other polarity-based languages.
So: "You don't have to wait here now? No/Nah. I don't have to," is correct.
"Yes/Yeah. I don't have to" is a mistake because it violates the polarity-based answer system.
Almost all of my students come from truth-based/agreement-based languages and have to be taught that English is polarity-based.
Global English has many variants, so some native speakers may use truth-based answers.