mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
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:
parent
097f7df150
commit
3c61665b7f
@ -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