Add prometheus

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-14 21:58:33 +01:00
parent 777a71bfad
commit 34895dd22b
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,9 @@ let
listenIPs = filterIPs config.networking.wireguard.interfaces."wg0".ips;
in
{
imports = [
./prometheus.nix
];
services.grafana = {
enable = true;
domain = "grafana.int.chir.rs";

View file

@ -0,0 +1,6 @@
{ ... }: {
services.prometheus = {
enable = true;
port = 9001;
};
}