pvv-nixos-config/hosts/ildkule/services/monitoring/prometheus/default.nix

19 lines
360 B
Nix
Raw Normal View History

2023-01-21 19:55:29 +01:00
{ config, ... }: {
imports = [
./gogs.nix
2023-01-21 19:55:29 +01:00
./matrix-synapse.nix
# TODO: enable once https://github.com/NixOS/nixpkgs/pull/242365 gets merged
# ./mysqld.nix
./node.nix
./postgres.nix
2023-01-21 19:55:29 +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 ];
};
}