summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix b/nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix
index 33a28ba132b8..f188fe1f68fb 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/apcupsd.nix
@@ -1,9 +1,8 @@
{ config, lib, pkgs, options, ... }:
-with lib;
-
let
cfg = config.services.prometheus.exporters.apcupsd;
+ inherit (lib) mkOption types concatStringsSep;
in
{
port = 9162;