2023-01-21 19:55:29 +01:00
|
|
|
{ config, ... }: {
|
|
|
|
imports = [
|
|
|
|
./node.nix
|
|
|
|
./matrix-synapse.nix
|
2023-01-21 22:31:12 +01:00
|
|
|
./postgres.nix
|
2023-01-23 13:12:46 +01:00
|
|
|
./gogs.nix
|
2023-01-21 19:55:29 +01:00
|
|
|
];
|
2023-01-23 13:12:46 +01:00
|
|
|
|
2023-01-21 19:55:29 +01:00
|
|
|
services.prometheus = {
|
|
|
|
enable = true;
|
|
|
|
listenAddress = "127.0.0.1";
|
|
|
|
port = 9001;
|
|
|
|
|
|
|
|
ruleFiles = [ rules/synapse-v2.rules ];
|
|
|
|
};
|
|
|
|
}
|