Interesting. May be a correlation rather than causation thing. For example if your dopamine levels are elevated for some unrelated reason then you may be experiencing more motivation hence the work on your FOSS projects and you may also experience increased sex drive at the same time.
https://www.youtube.com/watch?v=QmOF0crdyRU