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