diff options
author | talyz <kim.lindberger@gmail.com> | 2022-01-11 13:51:52 +0100 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2022-01-18 15:16:23 +0100 |
commit | 07b64a2ad72563fbf63be443954aa20406ae87fd (patch) | |
tree | 4c38cc644e37178eb6a3d2901f0b4062517c9d94 /nixos/doc/manual/from_md/release-notes/rl-2205.section.xml | |
parent | a0b54a0626634b34b579e52f84464e5ab890afdd (diff) | |
download | nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar.gz nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar.bz2 nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar.lz nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar.xz nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.tar.zst nixpkgs-07b64a2ad72563fbf63be443954aa20406ae87fd.zip |
nixos/bookstack: Add option config to replace extraConfig
The `extraConfig` parameter only handles text - it doesn't support arbitrary secrets and, with the way it's processed in the setup script, it's very easy to accidentally unescape the echoed string and run shell commands / feed garbage to bash. To fix this, implement a new option, `config`, which instead takes a typed attribute set, generates the `.env` file in nix and does arbitrary secret replacement. This option is then used to provide the configuration for all other options which change the `.env` file.
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes/rl-2205.section.xml')
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2205.section.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 705d28aad5d..0902b62251f 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -398,6 +398,16 @@ systemd. </para> </listitem> + <listitem> + <para> + The <literal>services.bookstack.extraConfig</literal> option + has been replaced by + <literal>services.bookstack.config</literal> which implements + a + <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link> + configuration. + </para> + </listitem> </itemizedlist> </section> <section xml:id="sec-release-22.05-notable-changes"> |