I did a comp science degree, so I can't speak for the liberal arts. However I imagine the same experience could apply.
For us the curriculum was the start of the learning, not the end. We'd get a weekly assignment that could be done in an afternoon. Most of the class did the assignments, and that was enough.
There was a small group of us that lived (pretty much) in the lab. We'd take the assignment and run with it, for days, nights, spare periods, whatever. That 10 line assignment? We turned it into 1000 lines every week.
For example the class on sorting might specify a specific algorithm. We'd do all of them. Compete against each other to make the fastest one. Compare one dataset to another. Investigate data distributions. You know, suck the marrow.
(Our professors would also swing by the lab from time to time to see how things were going, drop the odd hint, or prod the bear in a direction and so on. And this is all still undergrad.
I can imagine a History major doing the same. Researching beyond the curriculum. Going down rabbit holes.
My point is though is that you're right. You need to be interested. You need to have this compulsion. You can't tell a person "go, learn". All you can do is offer the environment, sit back, and see who grabs the opportunity.
I get that you cant imagine this playing out. To those interested only in the degree, it's unimaginable. And no, as long as burning-desire is not on the entry requirements, it most certainly will not be the majority.
In truth the lab resources eoild never have coped if the majority did what we did.