Format nix files using new formatter
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
|
||||
@@ -56,20 +61,20 @@ with pkgs;
|
||||
postgres.enable = true;
|
||||
smartctl.enable = true;
|
||||
};
|
||||
scrapeConfigs = [{
|
||||
job_name = "zion";
|
||||
static_configs = [{
|
||||
targets = [
|
||||
"localhost:${toString config.services.prometheus.exporters.node.port}"
|
||||
"localhost:${
|
||||
toString config.services.prometheus.exporters.postgres.port
|
||||
}"
|
||||
"localhost:${
|
||||
toString config.services.prometheus.exporters.smartctl.port
|
||||
}"
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "zion";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"localhost:${toString config.services.prometheus.exporters.node.port}"
|
||||
"localhost:${toString config.services.prometheus.exporters.postgres.port}"
|
||||
"localhost:${toString config.services.prometheus.exporters.smartctl.port}"
|
||||
];
|
||||
}
|
||||
];
|
||||
}];
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Grafana configuration
|
||||
|
||||
Reference in New Issue
Block a user