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

@ -21,9 +21,9 @@
, ...
}: {
imports = [ ./module.nix ];
config = lib.mkIf config.services.wifi-prometheus-exporter.enable {
config = {
nixpkgs.overlays = [ outputs.overlays.default ];
services.wifi-prometheus-exporter.package = lib.mkDefault pkgs.wifi-prometheus-exporter;
services.prometheus.exporters.wifi.package = lib.mkDefault pkgs.wifi-prometheus-exporter;
};
};
};