Blueprint for nanoscale NMR