Unverified Commit a1030cf5 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #306640 from pyrox0/prometheus-exporter-with-removal

nixos/prometheus/exporters: Remove all `with lib;` usage
parents 7a766aab b4fd1b4f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
{ config, lib, pkgs, options, ... }:

with lib;

let
  cfg = config.services.prometheus.exporters.apcupsd;
  inherit (lib) mkOption types concatStringsSep;
in
{
  port = 9162;
+1 −2
Original line number Diff line number Diff line
{ config, lib, pkgs, options, ... }:

with lib;

let
  cfg = config.services.prometheus.exporters.artifactory;
  inherit (lib) mkOption types concatStringsSep;
in
{
  port = 9531;
+1 −2
Original line number Diff line number Diff line
{ config, lib, pkgs, options, ... }:

with lib;

let
  cfg = config.services.prometheus.exporters.bind;
  inherit (lib) mkOption types concatStringsSep;
in
{
  port = 9119;
+6 −2
Original line number Diff line number Diff line
{ config, lib, pkgs, options, ... }:

with lib;

let
  cfg = config.services.prometheus.exporters.bird;
  inherit (lib)
    mkOption
    types
    concatStringsSep
    singleton
    ;
in
{
  port = 9324;
+1 −2
Original line number Diff line number Diff line
{ config, lib, pkgs, options, ... }:

with lib;

let
  cfg = config.services.prometheus.exporters.bitcoin;
  inherit (lib) mkOption types concatStringsSep;
in
{
  port = 9332;
Loading