Commit 42b7af82 authored by Ananth Bhaskararaman's avatar Ananth Bhaskararaman
Browse files

nixos/prometheus-libvirt-exporter: add libvirtd group

Add the libvirtd group to the exporter's user so it can access the
libvirt socket.
parent e50595fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -324,6 +324,7 @@ let
          description = "Prometheus ${name} exporter service user";
          isSystemUser = true;
          inherit (conf) group;
          extraGroups = mkIf (name == "libvirt") [ "libvirtd" ];
        }
      );
      users.groups = mkMerge [