Add prometheus
This commit is contained in:
parent
777a71bfad
commit
34895dd22b
2 changed files with 9 additions and 0 deletions
|
@ -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";
|
||||
|
|
6
config/services/prometheus.nix
Normal file
6
config/services/prometheus.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue