This repository has been archived on 2026-04-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
server-config/services/ntfy/ntfy-alerts.nix
Simon Gardling 124d33963e
All checks were successful
Build and Deploy / deploy (push) Successful in 2m43s
organize
2026-04-03 00:47:12 -04:00

16 lines
318 B
Nix

{
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;
};
}