Wpa supplicant: Difference between revisions
→Restrictions on Certificate Location: Added hint for editing NetworkManager connections when using eduroam. |
Hemangandhi (talk | contribs) Updates based on https://github.com/NixOS/nixpkgs/issues/528867#issuecomment-4641873434 and the release notes in https://nixos.org/manual/nixos/stable/release-notes#sec-release-26.05-incompatibilities |
||
| Line 12: | Line 12: | ||
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: | 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="nix"> | ||
networking.wireless.userControlled | networking.wireless.userControlled = true; | ||
</ | </syntaxhighlight> | ||
Also your user must be part of the <code> | Also your user must be part of the <code>wpa_supplicant</code> group (replace USER with your username): | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
| Line 55: | Line 55: | ||
enable = true; # Enables wireless support via wpa_supplicant. | enable = true; # Enables wireless support via wpa_supplicant. | ||
networks."MYSSID".psk = "myPresharedKey"; | networks."MYSSID".psk = "myPresharedKey"; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||