For prosperity and as thanks to this thread, here's what I did for my 2017 Leaf S:
1. I bought this mirror:
http://www.ebay.com/itm/182228589116?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
It is a Homelink, compass and auto-dim mirror, cost $75 and can be used with rolling code...