<commit_before><section xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         version="5.0"
         xml:id="sec-networkmanager">

<title>NetworkManager</title>

<para>To facilitate network configuration, some desktop environments
use NetworkManager. You can enable NetworkManager by setting:

<programlisting>
networking.networkmanager.enable = true;
</programlisting>

some desktop managers (e.g., GNOME) enable NetworkManager
automatically for you.</para>

<para>All users that should have permission to change network settings must
belong to the <code>networkmanager</code> group:

<programlisting>
users.extraUsers.youruser.extraGroups = [ "networkmanager" ];
</programlisting>
</para>

<para>NetworkManager is controlled using either <command>nmcli</command> or
<command>nmtui</command> (curses-based terminal user interface). See their
manual pages for details on their usage. Some desktop environments (GNOME, KDE)
have their own configuration tools for NetworkManager.</para>

<note><para><code>networking.networkmanager</code> and
<code>networking.wireless</code> (WPA Supplicant) cannot be enabled at the same
time: you can still connect to the wireless networks using
NetworkManager.</para></note>

</section>
<commit_msg>nixos/manual/networkmanager: add info on nm-applet<commit_after><section xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         version="5.0"
         xml:id="sec-networkmanager">

<title>NetworkManager</title>

<para>To facilitate network configuration, some desktop environments
use NetworkManager. You can enable NetworkManager by setting:

<programlisting>
networking.networkmanager.enable = true;
</programlisting>

some desktop managers (e.g., GNOME) enable NetworkManager
automatically for you.</para>

<para>All users that should have permission to change network settings must
belong to the <code>networkmanager</code> group:

<programlisting>
users.extraUsers.youruser.extraGroups = [ "networkmanager" ];
</programlisting>
</para>

<para>NetworkManager is controlled using either <command>nmcli</command> or
<command>nmtui</command> (curses-based terminal user interface). See their
manual pages for details on their usage. Some desktop environments (GNOME, KDE)
have their own configuration tools for NetworkManager. On XFCE, there is no
configuration tool for NetworkManager by default: by adding
<code>networkmanagerapplet</code> to the list of system packages, the graphical
applet will be installed and will launch automatically when XFCE is starting
(and will show in the status tray).</para>

<note><para><code>networking.networkmanager</code> and
<code>networking.wireless</code> (WPA Supplicant) cannot be enabled at the same
time: you can still connect to the wireless networks using
NetworkManager.</para></note>

</section>

{'fraction_non_alphanumeric': 0.10662630339724184, 'fraction_numerical': 0.008072653884964682, 'mean_word_length': 5.2875264270613105, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2974331', 'n_tokens_mistral': 857, 'n_tokens_neox': 822, 'n_words': 273}