Merge pull request #225943 from jakubgs/smartctl-exporter/fix-extra-flags

nixos/prometheus-smartctl-exporter: support extraFlags
This commit is contained in:
Martin Weinelt 2023-04-13 07:37:28 +02:00 committed by GitHub
commit f0e4bd26bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;