diff options
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/nut.nix')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/nut.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/nut.nix b/nixos/modules/services/monitoring/prometheus/exporters/nut.nix index e88059cea4396..157bdadddfc99 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/nut.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/nut.nix @@ -1,9 +1,13 @@ { config, lib, pkgs, options, ... }: -with lib; - let cfg = config.services.prometheus.exporters.nut; + inherit (lib) + mkOption + types + optionalString + concatStringsSep + ; in { port = 9199; |