Let $A$ be a commutative ring, $\sqrt0$ is the nilradical and there exists an idempotent $e\in A/\sqrt0$, i.e. $e\neq0,1$ and $e^2-e=0$. Show that $A$ has an idempotent $\ne0,1$.
My attempt:
Denote a representative of $e$ in $A$ as $x$. Then $x^n(x-1)^n=0$ for some $n>0$. If I could show that $x^n$ and $(x-1)^n$ are coprime than I could use Chinese remainder theorem to decompose $A$ as $A/(x)^n\times A/(x-1)^n$ and then it is easy to prove that $(0,1)$ is an idempotent.
Any suggestions how to show that $x^n$ and $(x-1)^n$ are coprime? There are proofs of this fact on this website but the ones I found are for the case when $x$ is a formal variable of a ring, which are not applicable here.