nix-configs/modules/services/monitoring.nix
2025-07-29 03:02:25 +02:00

22 lines
423 B
Nix

{
pkgs,
lib,
config,
...
}:
let
cfg = config.xyno.services.monitoring;
in
{
options.xyno.services.monitoring.enable =
lib.mkEnableOption "enables monitoring (prometheus exporters and stuff)";
options.xyno.services.monitoring.ip = lib.mkOption {
type = lib.types.str;
default = "::1";
description = "the ip prometheus exporters should listen to";
};
config = lib.mkIf cfg.enable {
};
}