nixos/modules/info/monitoring.nix

19 lines
364 B
Nix

{ lib, ... }:
let
inherit (lib) mkEnableOption mkOption types;
in
{
options.monitoring = {
enable = mkEnableOption "Monitoring prometheus de la machine.";
nginx = {
enable = mkOption {
type = types.bool;
example = true;
description = "Monitoring de Nginx par prometheus.";
default = false;
};
};
};
}