All checks were successful
Build and Deploy / deploy (push) Successful in 2m43s
16 lines
318 B
Nix
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;
|
|
};
|
|
}
|