NetworkManager: Difference between revisions

Pigs (talk | contribs)
m Configuration: link to module options
m nm-applet -> networkmanagerapplet. nm-applet no longer exist and i think its been replaced by networkmanagerapplet https://search.nixos.org/packages?channel=25.05&show=networkmanagerapplet&from=0&size=50&sort=relevance&type=packages&query=nm-applet
Line 6: Line 6:
</syntaxhighlight>In order to allow access to the NetworkManager daemon and be able to configure and add new networks, the user must be added to the <code>networkmanager</code> group. This can be done through the <code>extraGroups</code> option for a defined user:<syntaxhighlight lang="nix">
</syntaxhighlight>In order to allow access to the NetworkManager daemon and be able to configure and add new networks, the user must be added to the <code>networkmanager</code> group. This can be done through the <code>extraGroups</code> option for a defined user:<syntaxhighlight lang="nix">
users.users.<name>.extraGroups = [ "networkmanager" ];
users.users.<name>.extraGroups = [ "networkmanager" ];
</syntaxhighlight>By default, NetworkManager comes with <code>nmcli</code> and <code>nmtui</code> as user interfaces, however, a GTK interface called <code>nm-connection-editor</code> can be found in the <code>nm-applet</code> package.
</syntaxhighlight>By default, NetworkManager comes with <code>nmcli</code> and <code>nmtui</code> as user interfaces, however, a GTK interface called <code>nm-connection-editor</code> can be found in the <code>networkmanagerapplet</code> package.


== Usage ==
== Usage ==