\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee2.tikz}
\begin{document}
\begin{circuitikz}
\draw (1.5,0.8) node[nmos](m2){} (m2.east) node[right, yshift=-4pt]{$M_2$};
\draw (m2.G) -- ++(-0.6,0) node[ocirc]{} node[left]{$V_\mathrm{in}$};
\draw (m2.S) -- ++(0,-0.2) coordinate(s) node[ground]{};
\draw (m2.D) -- ++(0,0.6) node[nmos, anchor=S](m1){} (m1.east) node[right, yshift=4pt]{$M_1$};
\draw[->, gaaccent] ($(m2.D)+(-0.2,0.5)$) -- ++(0,-0.4);
\node[note, anchor=east] at ($(m2.D)+(-0.25,0.3)$) {$g_\mathrm{m2}V_\mathrm{in}$};
\draw (m1.G) -- ++(-0.7,0) coordinate(g1) -- ++(0,-0.15) node[ground]{};
\draw (m1.D) -- ++(0,0.5) coordinate(d) -- ++(1.4,0) coordinate(r) to[R, l=$R_\mathrm{D}$] (r |- s) node[ground]{};
\draw[->, gaaccent] ($(m1.D)+(0.2,0.4)$) -- ++(0,-0.35);
\draw (r) -- ++(1.0,0) to[short, i<=$I_\mathrm{out}$] ++(0.8,0) coordinate(q) -- (q |- s) node[ground]{};
\end{circuitikz}
\end{document}
