$\displaystyle \frac{\mathrm{d}y}{\mathrm{d}x} = y - 2, \ \ \ y(0)=1$

Is this solveable to get $\displaystyle y(x)=...$. When I used seperation of variable I got $\displaystyle c=\ln (-1)$ which isn't possible. Can someone solve it? Thanks in advance.