From ccfeb0ac5b7d6a0a43f4e2ec955b3c239c63a4aa Mon Sep 17 00:00:00 2001 From: uku Date: Wed, 8 Jan 2025 14:02:24 +0100 Subject: [PATCH] pkgs.formats: add documentation entry for CDN --- nixos/doc/manual/development/settings-options.section.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/doc/manual/development/settings-options.section.md b/nixos/doc/manual/development/settings-options.section.md index b37cd1d34525..aa136ba8e9cb 100644 --- a/nixos/doc/manual/development/settings-options.section.md +++ b/nixos/doc/manual/development/settings-options.section.md @@ -343,6 +343,12 @@ have a predefined type and string generator already declared under and returning a set with TOML-specific attributes `type` and `generate` as specified [below](#pkgs-formats-result). +`pkgs.formats.cdn` { } + +: A function taking an empty attribute set (for future extensibility) + and returning a set with [CDN](https://github.com/dzikoysk/cdn)-specific + attributes `type` and `generate` as specified [below](#pkgs-formats-result). + `pkgs.formats.elixirConf { elixir ? pkgs.elixir }` : A function taking an attribute set with values