Use normal environmentFile option
Set topic ntfy notifications
This commit is contained in:
parent
c5e166a858
commit
8a5e92bb7e
1 changed files with 2 additions and 1 deletions
|
@ -39,10 +39,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [gatusPort];
|
networking.firewall.allowedTCPPorts = [gatusPort];
|
||||||
systemd.services.gatus.serviceConfig.EnvironmentFile = config.sops.secrets."gatus/env".path;
|
|
||||||
|
|
||||||
services.gatus = {
|
services.gatus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
environmentFile = config.sops.secrets."gatus/env".path;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
alerting = let
|
alerting = let
|
||||||
|
@ -68,6 +68,7 @@ in {
|
||||||
ntfy = {
|
ntfy = {
|
||||||
url = "https://ntfy.kun.is";
|
url = "https://ntfy.kun.is";
|
||||||
token = "$NTFY_ACCESS_TOKEN";
|
token = "$NTFY_ACCESS_TOKEN";
|
||||||
|
topic = "gatus";
|
||||||
inherit default-alert;
|
inherit default-alert;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue