Linux distributions these days come with NetworkManager to allow a user to configure a WiFi network adapter. However I can't seem to figure out how to configure a system-wide network adapter. There seems to be some suggestion that NetworkManager can use some source of data other than the user clicking to get things like WPA passphrases and such, but I can't find even a single rumour of a document explaining how to do this.
I am using Fedora 10 but frankly would consider switching to any distro to get this working in a nice, supported way that doesn't involve me hacking up some network config script that I stick into rc.local. I want the most generic solution possible.
How do I set up a system-wide WiFi network card so that it connects on boot and stays connected?