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

23 lines
327 B
Nix
Raw Normal View History

2023-12-29 17:03:35 +01:00
{ lib, ... }:
with lib;
with types;
{
options.components.monitor = {
enable = mkOption {
type = bool;
default = true;
};
};
imports = [
./netdata.nix
./opentelemetry.nix
./prometheus.nix
2024-05-15 14:39:21 +02:00
./promtail.nix
./telegraf.nix
2023-12-29 17:03:35 +01:00
];
config = mkIf config.components.monitor.enable { };
}