Mods are pretty important. Without them, there would never have been Team Fortress, Counter-Strike, DotA, DayZ etc.
As others have stated: I wouldn't refuse to buy a game that is non-moddable, at least not based solely on that, but it is very much a preferred feature. Especially for certain...