For most of the "normal" closed source work, it's easy to say that you worked on X product or feature, and can talk about some of the challenges that you encountered with it.
Contrast that with defense contract work that requires classified clearance. If you're a developer on that, you will most likely never be able to talk about it to most recruiters or interviewers before you retire. There is no way to actually talk about what you've done with the general public. That can hurt a career, especially if it puts a black hole in your experience on a resume.
I don't know of any reqs within my company (GlobalDefenseCorp) that indicate salary is increased when you go dark. Your compensation is that you get to work on cool shit, which will likely lead to another project in the same vein.
I don't really believe that exposure to open source projects has that much market value, though. I also think it's probably very hard to run a dev hiring pipeline that expects to primarily recruit people from open source projects. There are a whole lot of very talented developers who have spent their careers doing closed-source (i.e.: normal) software development.