organize
All checks were successful
Build and Deploy / deploy (push) Successful in 2m43s
All checks were successful
Build and Deploy / deploy (push) Successful in 2m43s
This commit is contained in:
15
services/ntfy/ntfy-alerts.nix
Normal file
15
services/ntfy/ntfy-alerts.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
service_configs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.services.ntfy-sh.enable {
|
||||
services.ntfyAlerts = {
|
||||
enable = true;
|
||||
serverUrl = "https://${service_configs.ntfy.domain}";
|
||||
topicFile = config.age.secrets.ntfy-alerts-topic.path;
|
||||
|
||||
tokenFile = config.age.secrets.ntfy-alerts-token.path;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user