Dark Sun as a Western. Here's the set of inspirations I would probably throw into that (which would work well for any relatively post-apocalyptic science fantasy Western):
The Gunslinger by Stephen King (less so the other Dark Tower books, though they're good too).
The Half-Made World and The Rise of Ransom City by Felix Gilman.
The Eric John Stark novels/novellas by Leigh Brackett.
The Road Warrior
1 hour ago