diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-07-17 14:19:18 +0200 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-07-22 16:41:09 +0200 |
commit | 774221191dcd9614b8316cc00bbd7e4a7604ae2c (patch) | |
tree | 19d0a6a4671a0b6ab5e01f08b4a4f395a71e7875 /nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix | |
parent | 01ee2ee2ba5b1d4763c77a6ed46523c17df97167 (diff) | |
download | nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar.gz nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar.bz2 nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar.lz nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar.xz nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.tar.zst nixpkgs-774221191dcd9614b8316cc00bbd7e4a7604ae2c.zip |
nixos/prometheus-exporters: refactor imports, replace 'with lib;'
Pass through 'options' to exporter definitions and replace 'with lib;' by explicit function imports.
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix b/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix index eae7a61297d..5aed4a3a966 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs }: +{ config, lib, pkgs, options }: with lib; |