From dfc553b5649de6da3d2451fc7d897828d7fc6d2c Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Wed, 11 Sep 2024 20:17:48 +0700 Subject: [PATCH] dbus: fix dbus error by using the broker implementation --- system/default.nix | 2 ++ system/services/telemetry/prometheus.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system/default.nix b/system/default.nix index 60e7b05..dbd9004 100644 --- a/system/default.nix +++ b/system/default.nix @@ -81,4 +81,6 @@ nix-output-monitor nvd ]; + + services.dbus.implementation = "broker"; } diff --git a/system/services/telemetry/prometheus.nix b/system/services/telemetry/prometheus.nix index 706d655..99002ca 100644 --- a/system/services/telemetry/prometheus.nix +++ b/system/services/telemetry/prometheus.nix @@ -6,7 +6,7 @@ in { config = mkIf cfg.enable { services.prometheus = { - enable = false; + enable = true; port = 0; # Random enableAgentMode = true; globalConfig = {