I know that if $A$ is a finite ring, then $\pi_1(\text{Spec} \,A)=\prod_{\mathfrak{p}\in \text{Spec} A} \hat{\mathbb{Z}}$. (see for example Some basic examples of étale fundamental groups). In particular, if $A=\mathbb{F}_{p^n}[x]/(x^2)$, then $\pi_1(\text{Spec} A)= Gal(\bar{k}/k)$.
My question is whether or not this extends to non-finite fields, i.e. whether or not $\pi_1(\text{Spec}\,k[x]/(x^2))= Gal(\bar{k}/k)$ for any field $k$. I know by functoriality of $\pi$ and the fact that the identity on $k$ can be written as $k\rightarrow k[x]/(x^2) \rightarrow k$ that $\pi_1(\text{Spec} \,k[x]/(x^2))$ surjects onto $\pi_1(\text{Spec}\, k)=Gal(\bar{k}/k)$, but I don't understand the kernel of this map.
Can someone point me the right way or even show me the solution, that would be great!
Wish you all a great day!