Merge pull request #225943 from jakubgs/smartctl-exporter/fix-extra-flags
nixos/prometheus-smartctl-exporter: support extraFlags
This commit is contained in:
commit
f0e4bd26bd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user