diff options
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/unifi.nix')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/unifi.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix b/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix index 82309febf63b8..07d177251f40d 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix @@ -1,9 +1,14 @@ { config, lib, pkgs, options, ... }: -with lib; - let cfg = config.services.prometheus.exporters.unifi; + inherit (lib) + mkOption + types + escapeShellArg + optionalString + concatStringsSep + ; in { port = 9130; |