+7
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
+7
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
···
+2
nixos/doc/manual/release-notes/rl-2305.section.md
+2
nixos/doc/manual/release-notes/rl-2305.section.md
···- [blesh](https://github.com/akinomyoga/ble.sh), a line editor written in pure bash. Available as [programs.bash.blesh](#opt-programs.bash.blesh.enable).+- [webhook](https://github.com/adnanh/webhook), a lightweight webhook server. Available as [services.webhook](#opt-services.webhook.enable).- [cups-pdf-to-pdf](https://github.com/alexivkin/CUPS-PDF-to-PDF), a pdf-generating cups backend based on [cups-pdf](https://www.cups-pdf.de/). Available as [services.printing.cups-pdf](#opt-services.printing.cups-pdf.enable).
+1
nixos/modules/module-list.nix
+1
nixos/modules/module-list.nix
···
+214
nixos/modules/services/networking/webhook.nix
+214
nixos/modules/services/networking/webhook.nix
···+The ID of your hook. This value is used to create the HTTP endpoint (`protocol://yourserver:port/prefix/''${id}`).+hookFiles = mapAttrsToList (name: hook: hookFormat.generate "webhook-${name}.json" [ hook ]) cfg.hooks+++ mapAttrsToList (name: hook: pkgs.writeText "webhook-${name}.json.tmpl" "[${hook}]") cfg.hooksTemplated;+[Webhook](https://github.com/adnanh/webhook), a server written in Go that allows you to create HTTP endpoints (hooks),+See [the documentation](https://github.com/adnanh/webhook/blob/master/docs/Templates.md) for more information.+The URL path prefix to use for served hooks (`protocol://yourserver:port/''${prefix}/hook-id`).+Same as {option}`hooks`, but these hooks are specified as literal strings instead of Nix values,+and hence can include [template syntax](https://github.com/adnanh/webhook/blob/master/docs/Templates.md)+message = "`services.webhook.hooks` and `services.webhook.hooksTemplated` have overlapping attribute(s): ${concatStringsSep ", " (builtins.attrNames overlappingHooks)}";
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+65
nixos/tests/webhook.nix
+65
nixos/tests/webhook.nix
···
+3
pkgs/servers/http/webhook/default.nix
+3
pkgs/servers/http/webhook/default.nix
······