···1818networking.wireless.enable = true;
1919</programlisting>
20202121-NixOS lets you specify networks for wpa_supplicant declaratively:
2222-<programlisting>
2323-networking.wireless.networks = {
2424- echelon = {
2525- psk = "abcdefgh";
2626- };
2727- "free.wifi" = {};
2828-}
2929-</programlisting>
3030-3131-When no networks are set it will default to using a configuration file at
3232-<literal>/etc/wpa_supplicant.conf</literal>. You should edit this file
2121+NixOS currently does not generate wpa_supplicant's
2222+configuration file, <literal>/etc/wpa_supplicant.conf</literal>. You should edit this file
3323yourself to define wireless networks, WPA keys and so on (see
3424wpa_supplicant.conf(5)).
3525</para>