The Gauss Gun in "Stalker 2: Heart of Chernobyl" is a very useful and powerful weapon in the game. If you want to obtain the Gauss Gun, you need to farm the Holy Monument Soldiers. When completing the "Border" mission , you will arrive at this location, and after completing the conversation with the station guard, the Monument Soldier will appear in this area.
How to use the Gauss Gun in STALKER 2: Heart of Chernobyl
You will reach this location when completing the "Boundary" mission, and after completing the conversation with the station guard, the Monument Soldier will appear in this area.
Of these enemies, there is only one random soldier carrying a Gauss Gun, so you need to defeat them and then loot the corpses to get it. If you don't find the Gauss Gun at this location, you can reload the previous save and go back to the checkpoint to kill more Monuments.
Some other places where Monuments can appear include Pripyat and the Generator Station, both of which also have a high chance of dropping Gauss Guns. You may come to these places when taking on Strelock's mission, or choose to kill him in subsequent missions.