diff --git a/modules/info/monitoring.nix b/modules/info/monitoring.nix index 3b89938..70e9e54 100644 --- a/modules/info/monitoring.nix +++ b/modules/info/monitoring.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ config, lib, ... }: let inherit (lib) mkEnableOption mkOption types; in @@ -20,7 +20,7 @@ in type = types.bool; example = true; description = "Monitoring de Comin (l'auto-update) par prometheus."; - default = false; + default = config.autoUpdate.enable; }; }; };