diff options
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/collectd.nix')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/collectd.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix b/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix index 339eb8c3f5f46..6f4c936fd4093 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix @@ -1,9 +1,15 @@ { config, lib, pkgs, options, ... }: -with lib; - let cfg = config.services.prometheus.exporters.collectd; + inherit (lib) + mkOption + mkEnableOption + types + optionalString + concatStringsSep + escapeShellArg + ; in { port = 9103; |