mirror of https://gitlab.crans.org/nounous/nixos
28 lines
574 B
Nix
28 lines
574 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;
|
|
};
|
|
};
|
|
|
|
comin = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
example = true;
|
|
description = "Monitoring de Comin (l'auto-update) par prometheus.";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
}
|