Wpa supplicant: Difference between revisions

imported>ImExtends
Added priority to networks
imported>Jmesmon
use the `userControlled.enable` instead of custom config
Line 5: Line 5:
== Wpa_supplicant_gui ==
== Wpa_supplicant_gui ==


To be able to use <code>wpa_gui</code> as user put the following in your <code>configuration.nix</code> file:
To be able to use <code>wpa_gui</code> or <code>wpa_cli</code> as user put the following in your <code>configuration.nix</code> file:


<syntaxHighlight lang=ini>
<syntaxHighlight lang=ini>
networking.wireless.extraConfig = ''
networking.wireless.userControlled.enable = true;
  ctrl_interface=/run/wpa_supplicant
  ctrl_interface_group=wheel
'';
</syntaxHighlight>
</syntaxHighlight>