Here is what is what is written about the bias-variance tradeoff in "Introduction to Statistical Learning":
I am wondering, how to relate this to the linear regression model? Do we have in the bias-variance tradeoff that the $X$ vector used to construct $\hat{f}$ is itself random? So we need the distribution of $X$ as well? The reason this confuses be is that from what I recall in linear regression we only assume that $Y$ is random, but that the points $x_1,x_2,\ldots,x_n$ are fixed, and all the tests we make are under this assumption that $X$ is not random?