nixos-config/nixos/components/monitor/default.nix
2024-05-16 10:57:57 +02:00

24 lines
349 B
Nix

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