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