Here is a way using Newton polygons for $f(x-1)$. Specifically $$f(x-1)=x^9-9x^8+36x^7-81x^6+108x^5-81x^4+189x^3-486x^2+486x-162,$$ and looking at the powers of $3$ in its coefficients (the polygon coordinates depends only on these powers, we can ignore signs and other primes), we can write the coefficients as:
$$3^0, 3^2, 3^2, 3^4, 3^3, 3^4, 3^3, 3^5, 3^5, 3^4.$$
The Newton polygon corresponding to $p=3$ is then lower convex hull of points
$$[0,4],[1,5],[2,5],[3,3],[4,4],[5,3],[6,4],[7,2],[8,2],[9,0],$$
which can be easily seen to be line segment between $[0,4]$ and $[9,0]$, because all of the points lie above.
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $

We also have $(4,9)=1$ and so this line does not pass through any other integer points. By Dumas' theorem (see for example this Variants of Eisenstein irreducibility, or also Advanced explanation on Eisenstein's criterion), the polynomial $f(x-1)$ is irreducible over $\mathbb{Q}$, and so especially $f(x)$ is irreducible over $\mathbb{Q}$.