diff --git a/applications/prometheus.nix b/applications/prometheus.nix index fcda5c9..c673600 100644 --- a/applications/prometheus.nix +++ b/applications/prometheus.nix @@ -26,17 +26,16 @@ in { type = types.port; default = 9001; }; + #list of servers passed in for monitoring + servers = mkOption { + type = types.listOf types.str; + }; }; collecter_port = mkOption { type = types.port; default = 9002; }; - - #list of servers passed in for monitoring - servers = mkOption { - type = types.listOf types.str; - }; }; config = diff --git a/machines/marvin.nix b/machines/marvin.nix index 963ff7c..3f25f48 100644 --- a/machines/marvin.nix +++ b/machines/marvin.nix @@ -86,7 +86,7 @@ in { name = name; }; - # maybe just do provision config directly ? + # maybe just do provision config directly ? datasource = { name = "Prometheus"; url = "localhost:${toString config.services.prometheus.port}";