1# NetworkManager {#sec-networkmanager}
2
3To facilitate network configuration, some desktop environments use
4NetworkManager. You can enable NetworkManager by setting:
5
6```nix
7{
8 networking.networkmanager.enable = true;
9}
10```
11
12some desktop managers (e.g., GNOME) enable NetworkManager automatically
13for you.
14
15All users that should have permission to change network settings must
16belong to the `networkmanager` group:
17
18```nix
19{
20 users.users.alice.extraGroups = [ "networkmanager" ];
21}
22```
23
24NetworkManager is controlled using either `nmcli` or `nmtui`
25(curses-based terminal user interface). See their manual pages for
26details on their usage. Some desktop environments (GNOME, KDE) have
27their own configuration tools for NetworkManager. On XFCE, there is no
28configuration tool for NetworkManager by default: by enabling
29[](#opt-programs.nm-applet.enable), the graphical applet will be
30installed and will launch automatically when the graphical session is
31started.
32
33::: {.note}
34`networking.networkmanager` and `networking.wireless` (WPA Supplicant)
35can be used together if desired. To do this you need to instruct
36NetworkManager to ignore those interfaces like:
37
38```nix
39{
40 networking.networkmanager.unmanaged = [
41 "*" "except:type:wwan" "except:type:gsm"
42 ];
43}
44```
45
46Refer to the option description for the exact syntax and references to
47external documentation.
48:::