Unverified Commit 3c61665b authored by Jakub Sokołowski's avatar Jakub Sokołowski
Browse files

nixos/prometheus-smartctl-exporter: support extraFlags



Seems to be ignored currently. Useful for `-verbose` flag.

Signed-off-by: default avatarJakub Sokołowski <jakub@status.im>
parent 097f7df1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ let
    "--smartctl.path=\"${pkgs.smartmontools}/bin/smartctl\" "
    "--smartctl.interval=\"${cfg.maxInterval}\" "
    "${concatMapStringsSep " " (device: "--smartctl.device=${device}") cfg.devices}"
  ];
  ] ++ cfg.extraFlags;
in {
  port = 9633;