Let's say you have the regression equation:
$$ y_i = \beta_0 + \beta_1 x_i + \epsilon_i $$
Different books, different lectures notes etc... follow two different approaches:
- Treat $x_i$ are scalars. They're entirely exogenous. They're not random.
- Treat $x_i$ as a random variable.
The answer of @Jarko Dubbeldam takes approach (1). If $x_i$ is a scalar then simply:
$$ \mathrm{Var}(y_i) = \mathrm{Var}(\epsilon_i )$$
In any settings, Approach 1 is excessively restrictive (and it isn't necessary). If you take approach two though, you would need to write:
$$ \mathrm{Var}(y_i \mid x_i ) = \mathrm{Var}(\epsilon_i )$$