summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/bookstack.nix
Commit message (Collapse)AuthorAge
* nixos/bookstack: Make secret replacement strings more uniquetalyz2022-02-02
| | | | | | | If a secret path is a subset of a second secret path, there's a risk that its secret is substituted for the matching part of the second path. To prevent this, use the sha256 of the paths as placeholder string instead.
* nixos/bookstack: Add option config to replace extraConfigtalyz2022-01-18
| | | | | | | | | | | | 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.
* nixos/bookstack: Simplify the nginx setuptalyz2022-01-18
| | | | Use the recommended defaults and remove unnecessary configuration.
* nixos/bookstack: Make the hostname configurable...talyz2022-01-18
| | | | | | | ...and set a reasonable default `appURL` based on it. This is pretty much required when configuring ACME, and useful in general.
* nixos/bookstack: Clear the cache more reliablytalyz2022-01-18
| | | | | | | | When upgrading bookstack, if something in the cache conflicts with the new installation, the artisan commands might fail. To solve this, make the cache lifetime bound to the setup service. This also removes the `cacheDir` option, since the path is now handled automatically by systemd.
* nixos/bookstack: fix setup serviceYannick Markus2022-01-06
|
* nixos/bookstack: fix error message output (#142729)Sebastian2021-10-24
|
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos/bookstack: use umask before echoing & clear cache before startingYannick Markus2021-05-03
|
* nixos/bookstack: initYannick Markus2021-03-12