move module

This commit is contained in:
Robin Appelman 2024-10-27 16:26:10 +01:00
commit 3ee65f7ca4
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
, ...
}:
with lib; let
cfg = config.services.wifi-prometheus-exporter;
cfg = config.services.prometheus.exporters.wifi;
format = pkgs.formats.toml { };
configFile = format.generate "wifi-prometheus-exporter-config.toml" {
ssh = {
@ -23,7 +23,7 @@ with lib; let
in
{
options.services.wifi-prometheus-exporter = {
options.services.prometheus.exporters.wifi = {
enable = mkEnableOption "WiFi prometheus exporter";
ssh = mkOption {