Compare commits
2 commits
master
...
tlater/ntf
| Author | SHA1 | Date | |
|---|---|---|---|
| 4894f056e5 | |||
| 823caecc59 |
2 changed files with 15 additions and 0 deletions
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
networking.hostName = "testvm";
|
networking.hostName = "testvm";
|
||||||
|
|
||||||
|
systemd.services.matrix-hookshot.enable = lib.mkForce false;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Sets the base domain for nginx to a local domain so that we can
|
# Sets the base domain for nginx to a local domain so that we can
|
||||||
# easily test locally with the VM.
|
# easily test locally with the VM.
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,19 @@ in
|
||||||
access = "proxy";
|
access = "proxy";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
alerting.contactPoints.settings.contactPoints = [
|
||||||
|
{
|
||||||
|
name = "ntfy";
|
||||||
|
receivers = [
|
||||||
|
{
|
||||||
|
uid = "ntfy";
|
||||||
|
type = "webhook";
|
||||||
|
settings.url = "http://${config.services.ntfy-sh.settings.listen-http}/local-alerts?template=grafana";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue