mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
ee501fd49a
* networkmanager: add information from wiki to docs Specifically: * mention nmcli, nmtui * mention gtk and kde applets fixes #13273
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<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>
|