{ 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 { }; }