From NixOS Wiki

NetworkManager is a program for configuring network devices on Linux. It is widely used by several Linux distributions and can be optionally enabled on NixOS for non-declarative network configuration. Additionally, it is used by several desktop environments.


NetworkManager can be enabled in the NixOS configuration file with the following line:

networking.networkmanager.enable = true;

By default, NetworkManager comes with nmcli and nmtui as user interfaces, however, a GTK interface called nm-connection-editor can be found in the nm-applet package.


NetworkManager can be used with several front ends, such as nmcli, nmtui, or nm-applet and nm-connection-editor.