From bd3ff3d066d66a6e9626a59001a5700d2be728b3 Mon Sep 17 00:00:00 2001 From: weriomat Date: Mon, 29 Dec 2025 17:27:42 +0100 Subject: [PATCH] nixos/prometheus-exporter-borgmatic: respect the listenAddress Support for this option was added in [0.4.0](https://github.com/maxim-mityutko/borgmatic-exporter/commit/1e73733c68a0248c33b880e990190f1c2a441e49). --- .../services/monitoring/prometheus/exporters/borgmatic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/monitoring/prometheus/exporters/borgmatic.nix b/nixos/modules/services/monitoring/prometheus/exporters/borgmatic.nix index 573230c3afca..b6b2c884a707 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/borgmatic.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/borgmatic.nix @@ -25,6 +25,7 @@ in ProtectHome = lib.mkForce false; ExecStart = '' ${pkgs.prometheus-borgmatic-exporter}/bin/borgmatic-exporter run \ + --host ${cfg.listenAddress} \ --port ${toString cfg.port} \ --config ${toString cfg.configFile} \ ${lib.concatMapStringsSep " " (f: lib.escapeShellArg f) cfg.extraFlags}