2022-11-24 15:20:43 +01:00
|
|
|
{ secrets, ... }: {
|
2023-01-20 19:55:52 +01:00
|
|
|
# TODO: Autogenerate port infrastructure
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./prometheus-exporters/matrix-synapse.nix
|
|
|
|
./prometheus-exporters/node.nix
|
|
|
|
./prometheus-exporters/postgres.nix
|
|
|
|
./prometheus-exporters/redis.nix
|
|
|
|
./prometheus-exporters/systemd.nix
|
|
|
|
./prometheus-exporters/minecraft.nix
|
|
|
|
];
|
|
|
|
|
2022-11-24 15:20:43 +01:00
|
|
|
services.prometheus = {
|
|
|
|
enable = true;
|
|
|
|
port = secrets.ports.prometheus;
|
|
|
|
};
|
|
|
|
}
|