Find all possible values of $x$ if $$\sqrt[x]{\frac{2}{x-1}}=(x-1)^{(x-2)}$$
My attempt:
$$\frac{2}{x-1}=(x-1)^{(x-2)x}$$ $$\implies2=(x-1)^{(x^2-2x+1)}$$ $$\implies2=(x-1)^{(x-1)^2}$$ Let $x-1=a$
Therefore $$2=a^{a^2}$$ By observation, $a=\pm\sqrt2$ satisfies the equation. $\implies$ $$x=\sqrt2+1 \:\:\textrm{or} \:\:x=1-\sqrt2$$ My doubts:
$1.$ Is an expression like $$\sqrt[{\sqrt2+1}]{y}$$ or $$\sqrt[{-\sqrt2+1}]{y}$$ even valid$?$
$2.$ How do we find all solutions to the equation $$2=a^{a^2}$$ assuming that the domain of $a$ is both $\mathbb{R}$ and $\mathbb{C}$