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];
|
||||
systemd.services.gatus.serviceConfig.EnvironmentFile = config.sops.secrets."gatus/env".path;
|
||||
|
||||
services.gatus = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets."gatus/env".path;
|
||||
|
||||
settings = {
|
||||
alerting = let
|
||||
|
@ -68,6 +68,7 @@ in {
|
|||
ntfy = {
|
||||
url = "https://ntfy.kun.is";
|
||||
token = "$NTFY_ACCESS_TOKEN";
|
||||
topic = "gatus";
|
||||
inherit default-alert;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue