Afaik, the only personal information is tied to your NNID/Nintendo Account, so all you have to do is remove it. Once you remove it, your buyer will be able to link it to their own NNID and use it as usual.
The steps to do remove your own while keeping everything intact are in this website, under...