mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
07b64a2ad7
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. |
||
---|---|---|
.. | ||
release-notes.xml | ||
rl-1310.section.md | ||
rl-1404.section.md | ||
rl-1412.section.md | ||
rl-1509.section.md | ||
rl-1603.section.md | ||
rl-1609.section.md | ||
rl-1703.section.md | ||
rl-1709.section.md | ||
rl-1803.section.md | ||
rl-1809.section.md | ||
rl-1903.section.md | ||
rl-1909.section.md | ||
rl-2003.section.md | ||
rl-2009.section.md | ||
rl-2105.section.md | ||
rl-2111.section.md | ||
rl-2205.section.md |