Your proof is correct, and you implicitly use a two important properties about $\mathbb{R}$ and $\mathbb{N}$. Although, to make it more explicit that these properties are being used, I would present the proof slightly differently by taking $n_1$ to be the least $n$ greater than $y$. Let's see what that would look like, but before diving into that I want to reiterate that your proof is fully correct. I will just be very precise here to show where you implicitly use certain properties, that you might (rightfully) consider obvious.
The first property I am talking about is the Archimedean property of the reals (as an ordered field). This essentially says that for every real number $x$ there is some natural number $n > x$. The other property is that the natural numbers are well-ordered. That means that every non-empty subset of the natural numbers has a least element.
You implicitly use the well-ordering of the natural numbers in finding a maximal $n_1$ such that $n_1 \leq x$ and then use the Archimedean property to conclude that $n_1 + 1 > x$. It may not be directly clear how these properties are used here, because we cannot directly use their definitions in this formulation. Let me slightly change your proof to make more clear where we use these properties (also note that there is no reason for a proof by contradiction, we can actually construct the required natural number).
First of all, as was mentioned in the comments already, we clearly need to assume $0 \leq x$, because otherwise the statement is simply not true. Let $y-x > 1$, then $y > x + 1 > x \geq 0$. By the Archimedean property, there is some $n \geq y$. So the set $A = \{n \in \mathbb{N} : n \geq y\}$ of all natural numbers above (or equal to) $y$ is non-empty. Then by the well-ordering of the natural numbers, there must be a least element $n_1 \in A$. Since $y > 1$, we have that $n_1 > 1$ and so $n_1 - 1 > 0$ is a natural number. We must have $y > n_1 - 1$, since otherwise $n_1 - 1 \geq y$ and thus $n_1 - 1 \in A$, but $n_1$ was the least element of $A$. Furthermore, since $n_1 \geq y > x + 1$, we have that $n_1 - 1 > x$, so we have indeed that $y > n_1 - 1 > x$.
Besides the fact that the reals are an ordered field with the Archimedean property, we do not use any other specific properties. That means that this proof would go through for any other ordered field with the Archimedean property. An example of this would be $\mathbb{Q}$ (as mentioned in the comments).