nixos-config/nixos/components/monitor/default.nix

23 lines
327 B
Nix

{ lib, ... }:
with lib;
with types;
{
options.components.monitor = {
enable = mkOption {
type = bool;
default = true;
};
};
imports = [
./netdata.nix
./opentelemetry.nix
./prometheus.nix
./promtail.nix
./telegraf.nix
];
config = mkIf config.components.monitor.enable { };
}