Answer
The domain is $(-\infty, 0]$
Work Step by Step
When $x>0$, the function is a square root of a negative number, so it's only defined in the domain $(-\infty, 0]$ (After all, the square root of a negative number is not a real number.)
The picture is provided below.