push-notifications: configure bark server
2 files changed, 16 insertions(+), 0 deletions(-)
changed files
M system/roles/push-notifications.nix → system/roles/push-notifications.nix
@@ -21,5 +21,20 @@ extraConfig = '' reverse_proxy ${config.services.ntfy-sh.settings.listen-http} ''; }; + "notify.${config.networking.domain}" = { + extraConfig = '' + reverse_proxy ${config.services.bark.settings.BARK_SERVER_ADDRESS} { + health_uri /ping + health_body pong + } + ''; + }; + }; + + services.bark = { + enable = true; + settings = { + BARK_SERVER_ADDRESS = "[::1]:8089"; + }; }; }