at 18.03-beta 1.6 kB view raw
1<section xmlns="http://docbook.org/ns/docbook" 2 xmlns:xlink="http://www.w3.org/1999/xlink" 3 xmlns:xi="http://www.w3.org/2001/XInclude" 4 version="5.0" 5 xml:id="sec-networkmanager"> 6 7<title>NetworkManager</title> 8 9<para>To facilitate network configuration, some desktop environments 10use NetworkManager. You can enable NetworkManager by setting: 11 12<programlisting> 13networking.networkmanager.enable = true; 14</programlisting> 15 16some desktop managers (e.g., GNOME) enable NetworkManager 17automatically for you.</para> 18 19<para>All users that should have permission to change network settings must 20belong to the <code>networkmanager</code> group: 21 22<programlisting> 23users.extraUsers.youruser.extraGroups = [ "networkmanager" ]; 24</programlisting> 25</para> 26 27<para>NetworkManager is controlled using either <command>nmcli</command> or 28<command>nmtui</command> (curses-based terminal user interface). See their 29manual pages for details on their usage. Some desktop environments (GNOME, KDE) 30have their own configuration tools for NetworkManager. On XFCE, there is no 31configuration tool for NetworkManager by default: by adding 32<code>networkmanagerapplet</code> to the list of system packages, the graphical 33applet will be installed and will launch automatically when XFCE is starting 34(and will show in the status tray).</para> 35 36<note><para><code>networking.networkmanager</code> and 37<code>networking.wireless</code> (WPA Supplicant) cannot be enabled at the same 38time: you can still connect to the wireless networks using 39NetworkManager.</para></note> 40 41</section>