From 15b0cff112694ed76d9a980f5b44380d8b63d4d8 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 11 Oct 2019 21:36:37 -0400 Subject: [PATCH] networkmanager: enable polkit_agent Not sure why we had this disabled. This is for the nmcli/nmtui `agent` subcommand [0] which allows it to act as a polkit agent. > nmcli agent { secret | polkit | all } > Run nmcli as a NetworkManager secret agent, or polkit agent. For example, this is useful if you want to use nmcli/nmtui to authenti- cate with polkit on a headless server. [0]: https://developer.gnome.org/NetworkManager/stable/nmcli.html --- pkgs/tools/networking/network-manager/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix index 1459ac53a12..e18b5970370 100644 --- a/pkgs/tools/networking/network-manager/default.nix +++ b/pkgs/tools/networking/network-manager/default.nix @@ -41,6 +41,7 @@ in stdenv.mkDerivation rec { "-Dcrypto=gnutls" "-Dsession_tracking=systemd" "-Dmodem_manager=true" + "-Dpolkit_agent=true" "-Dnmtui=true" "-Ddocs=true" "-Dtests=no"