There are many ways to construct such functions. Your approach is excellent. Let us slightly tweak it to achieve the property your are missing.
First, for $r > 0$, let us define $$ K_r := \{ x \in \mathbb C \mid d(x,K) \leq r \}. $$ For each $r > 0$, $K_r$ is a also a compact set (which contains $K$). Moreover, you can prove (for example arguing by contradiction), that there exists $r_0 > 0$ such that $K_{r_0} \subset \Omega$.
Then, apply your initial argument to the compact $K_{r_0}$ to find a continuous function $f$ which is $1$ on $K_{r_0}$ and compactly supported in $\Omega$. Now, as you said, regularize it by convolution, letting for example $f_\epsilon := f \star \rho_\epsilon$ where $\rho_\epsilon(z) := \rho(z/\epsilon)/\epsilon^2$ and $\rho$ is a smooth mollifier.
Now if you start from a function $\rho$ which has compact support, (for example in the ball of radius 1), then you can check that, for $\epsilon < r_0$, $f_\epsilon = 1$ on $K$ (because for $x \in K$, $f_\epsilon(x)$ is computed as an average of values of $f$ over $K_{r_0}$).
And you get your conclusion, almost with your arguments.