Here is a quick picture:

We can consider just half the isosceles triangle, as shown. Let the base be $b$ and height be $h$. The length of the base of half the triangle is $b/2$. The radius of the incircle is $b/2 \tan \theta/2$. The area of the whole isosceles triangle is $hb = b^2/4\tan\theta = 2$.
Using the double-angle formula for tangent,
$$ hb = \frac{b^2}{4}\frac{2\tan\theta/2}{1-\tan^2 \theta/2} = \frac{b^2}{4}\frac{2x}{1-x^2} = 2 $$
where $x = \tan\frac{\theta}{2}$.
The above equation is a constraint on the base $b$ for a given $x$.
The radius is then
$$ r = b/2 \tan \theta/2 = \sqrt{\frac{1-x^2}{x}}x $$
Maximizing this, we set the derivative equal to zero, giving $x = \frac{1}{\sqrt 3}$, so $\theta/2 = \frac{\pi}{6}$, and so the triangle is equilateral.