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

25 lines
349 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 = [
2024-05-16 10:57:57 +02:00
./export-zfs.nix
2023-12-29 17:03:35 +01:00
./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 { };
2024-05-16 10:57:57 +02:00
2023-12-29 17:03:35 +01:00
}