mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-10-02 00:14:05 +02:00
fmt
This commit is contained in:
parent
a531df8b3f
commit
dfb6dd0b57
3 changed files with 44 additions and 45 deletions
23
flake.nix
23
flake.nix
|
|
@ -10,22 +10,23 @@
|
|||
inputs.flakelight.follows = "flakelight";
|
||||
};
|
||||
};
|
||||
outputs = { mill-scale, ... }: mill-scale ./. {
|
||||
packages.wifi-prometheus-exporter = import ./package.nix;
|
||||
outputs = {mill-scale, ...}:
|
||||
mill-scale ./. {
|
||||
packages.wifi-prometheus-exporter = import ./package.nix;
|
||||
|
||||
nixosModules = { outputs, ... }: {
|
||||
default =
|
||||
{ pkgs
|
||||
, config
|
||||
, lib
|
||||
, ...
|
||||
nixosModules = {outputs, ...}: {
|
||||
default = {
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [ ./module.nix ];
|
||||
imports = [./module.nix];
|
||||
config = {
|
||||
nixpkgs.overlays = [ outputs.overlays.default ];
|
||||
nixpkgs.overlays = [outputs.overlays.default];
|
||||
services.prometheus.exporters.wifi.package = lib.mkDefault pkgs.wifi-prometheus-exporter;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue