Move modules to own directory

This commit is contained in:
2022-07-26 16:55:45 +01:00
parent 9954c0f177
commit cc11f89374
6 changed files with 30 additions and 19 deletions

View File

@@ -0,0 +1,28 @@
{
config,
pkgs,
lib,
...
}: {
services.grafana = {
enable = true;
};
services.prometheus = {
enable = true;
exporters = {
};
scrapeConfigs = [
{
job_name = "synapse";
metrics_path = "/_synapse/metrics";
static_configs = [
{
targets = ["localhost:9000"];
}
];
}
];
};
}