Through Nexon Cash. There is no other route to a permanent weapon.
Most permanent guns cost somewhere in the range of 25,000 to 30,000 NX, which is roughly 25 to 30 dollars depending on how you buy the points. Purchasing in larger bundles brings the effective price down slightly.
It is worth being clear-eyed about the value. Permanent weapons are a convenience purchase rather than a power advantage, since the rental and default options are competitive, and the game's balance shifts with every patch. If you do spend, spend on something you will still be using in a few months.