nixos/prometheus-smartctl-exporter: support extraFlags

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

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-04-12 23:04:50 +02:00
parent 097f7df150
commit 3c61665b7f
No known key found for this signature in database
GPG key ID: FE65CD384D5BF7B4

View file

@ -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;