The Nexstars, althought good scopes, come with alt-az mounts. Those are great for visual or planetary but useless for deep-sky (unless you use a rotator but that's expensive and rather uncommon).
What you need is a telescope on an equatorial mount.
Now what scope and mount really depends on your budget and what you want to do.
If you just want to try astrophotography and you don't want to invest much, a portable mount such as the Skyguider Pro or the Star Adventurer with a small refractor or DSLR lens will probably do.
If you want serious beginner gear for astrophotography, a good refractor with a decent mount is a good start.
And if you want to do visual as well, maybe a Newtonian is your better option. They have big mirror well suited for visual and fast optics for astrophotography. The problem with those is that they are heavy and you will need to invest in a good mount. They also need to be collimated (it's easy) and a coma corrector for astrophoto.
No matter what you choose, my two pieces of advice are : astrophotography is a fantastic hobby, but you should know that it can get expensive. And your budget priorities should be : Mount first, camera second, scope third. A bad mount is the worst, no matter how good your scope or camera are, it will be the first bottleneck.
I hope this helps, if you give us your budget, it will be easier to help you.