An NX, or any other SRAM 11spd MTB rear derailleur won't work with your shifter. I know, it's weird, i'll try to explain.
In the SRAM world, on 10spd both the road and MTB stuff used the same pull ratio, exact actuation. I don't know which came first, but when 11spd road stuff came out, it stayed on the same exact actuation pull ratio, but when 11spd MTB stuff came out, SRAM introduced a new pull ratio, x-actuation. Every 11spd SRAM MTB rear derailleur uses X-actuation, these won't work with your 10spd shifters.
However, SRAM came out with 11spd CX/gravel groupsets, and these use rear derailleurs that are pretty much exactly the same as their 11spd MTB rear derailleurs, AND they use the older exact actuation pull ratio, so they will work with your shifters. These groupsets are Apex 1, Rival 1, and Force 1.
These newer rear derailleurs were meant for a 42T cassette to begin with, and they have a bit of a different design which works better with wider range cassettes. A lot of people use them with 46T or even bigger cassettes and they work great.