NetworkManager: Difference between revisions

From NixOS Wiki
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 2: Line 2:


== Installation ==
== Installation ==
NetworkManager can be enabled in your configuration file with the following line:
NetworkManager can be enabled in the NixOS configuration file with the following line:
   
   
<code>networking.networkmanager.enable = true;</code>
<code>networking.networkmanager.enable = true;</code>

Revision as of 18:06, 12 April 2024

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.

Installation

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.

Usage

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