mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/alertmanager: add grafana dashboard and fix mail
This commit is contained in:
parent
fa6f85cc83
commit
6e27dc42c9
2 changed files with 21 additions and 0 deletions
|
@ -71,6 +71,20 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.grafana.provision = {
|
||||
dashboards.settings.providers = [
|
||||
{
|
||||
name = "Alertmanager";
|
||||
options.path = pkgs.grafana-dashboards.alertmanager;
|
||||
disableDeletion = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# for mail delivery
|
||||
services.postfix.enable = true;
|
||||
|
||||
my.services.nginx.virtualHosts = [
|
||||
{
|
||||
subdomain = "alerts";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue