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