A programmer from Mozilla writes this article,
"Open source doesn't make money bacause it's not designed to", but he mentiond 6 different ways to create profit.
Also, there are projects like gitcoin and issuehunt that are trying to reward people who contribute to OSS☺