mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Compare commits
No commits in common. "55c0eb01be48f4ab0162e3987bb777630c6373c3" and "2703325b4d56f88ac0b474fcac9a6f18eb290497" have entirely different histories.
55c0eb01be
...
2703325b4d
3 changed files with 10 additions and 4 deletions
|
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
ntfy = {
|
ntfy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "alerts.sprouted.cloud";
|
domain = "alerts.${privateDomain}";
|
||||||
};
|
};
|
||||||
|
|
||||||
grafana = {
|
grafana = {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,12 @@
|
||||||
|
|
||||||
nebula.enable = true;
|
nebula.enable = true;
|
||||||
sshd.enable = true;
|
sshd.enable = true;
|
||||||
|
|
||||||
|
crowdsec = {
|
||||||
|
enable = true;
|
||||||
|
bouncers.firewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
web-services =
|
web-services =
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ in
|
||||||
connectivity.checker.target = "1.1.1.1:53"; # Cloudflare DNS
|
connectivity.checker.target = "1.1.1.1:53"; # Cloudflare DNS
|
||||||
alerting.ntfy = {
|
alerting.ntfy = {
|
||||||
topic = "uptime";
|
topic = "uptime";
|
||||||
url = "https://alerts.sprouted.cloud";
|
url = "https://alerts.${config.custom.networking.overlay.domain}";
|
||||||
click = "https://${cfg.domain}";
|
click = "https://${cfg.domain}";
|
||||||
default-alert = {
|
default-alert = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -122,8 +122,8 @@ in
|
||||||
send-on-resolved = true;
|
send-on-resolved = true;
|
||||||
};
|
};
|
||||||
overrides = lib.singleton {
|
overrides = lib.singleton {
|
||||||
group = config.networking.hostName;
|
group = "Monitoring";
|
||||||
topic = "splitleaf";
|
topic = "stork-atlas";
|
||||||
url = "https://ntfy.sh";
|
url = "https://ntfy.sh";
|
||||||
default-alert = {
|
default-alert = {
|
||||||
failure-threshold = 4;
|
failure-threshold = 4;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue