In fact, we can choose a set which have exactly measure $\varepsilon$.
For a fixed $\delta>0$, consider the set $S_{\delta}:=\bigcup_{n\in\mathbb N}(q_n-2^{-n}\delta,q_n+\delta 2^{-n})$, where $\{q_n,n\in\Bbb N\}$ is an enumeration of the rationals of $[0,1]$. Then $S_{\delta}$ is open and dense in $[0,1]$, since it contains all the rationals of this interval. The maps $f\colon\delta\mapsto \lambda(S_{\delta}\cap (0,1))$ is Lipschitz-continuous. Indeed, if $\delta_1\leq\delta_2$, we have
\begin{align*}f(\delta_2)-f(\delta_1)&=\lambda(S_{\delta_2}\setminus S_{\delta_1})\\\
&\leq \lambda\left((0,1)\cap \bigcup_{n=0}^{+\infty}(q_n-2^{-n}\delta_2,q_n+\delta_2 2^{-n})\setminus (q_n-2^{-n}\delta_1,q_n+\delta_1 2^{-n})\right)\\\
&\leq \sum_{n=0}^{+\infty}\lambda((q_n-2^{-n}\delta_2,q_n+\delta_2 2^{-n})\setminus (q_n-2^{-n}\delta_1,q_n+\delta_1 2^{-n}))\\\
&=2(\delta_2-\delta_1)\sum_{n=0}^{+\infty}2^{-n}.
\end{align*}
Now we use the intermediate value theorem to pick $\delta$ such that $\lambda(S_{\delta}\cap (0,1))=1-\varepsilon$, and we consider the complement in $[0,1]$ of $S_{\delta}$.