summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/plausible.xml
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-05-29 16:13:20 +0200
committerRaphael Megzari <raphael@megzari.com>2021-06-02 19:21:31 +0900
commit02b15d0f5bc6bd821718d808e8dcdbc441449f72 (patch)
tree461e663896b2608cbea652a02713fbccfe4b6efa /nixos/modules/services/web-apps/plausible.xml
parentba934e9fc1898c749a3577ca85607e67e0a6c692 (diff)
downloadnixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar.gz
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar.bz2
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar.lz
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar.xz
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.tar.zst
nixpkgs-02b15d0f5bc6bd821718d808e8dcdbc441449f72.zip
plausible: first review fix iteration
* Most significant is probably the patching necessary to run plausible
  with postgres without superuser privilege. This change includes:
  * updating ecto_sql to 3.6 where `CREATE DATABASE` is only executed if
    it doesn't exist[1].
  * patching a migration to only modify the `users.email` column (to use
    `citext` rather than creating the extension. `plausible-postgres`
    takes care of that).
* Correctly declare dependencies in systemd.
* A few minor fixes.

[1] https://github.com/elixir-ecto/ecto_sql/commit/051baf669ef6ec92639ccc8b113d00b98047e927
Diffstat (limited to 'nixos/modules/services/web-apps/plausible.xml')
-rw-r--r--nixos/modules/services/web-apps/plausible.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/plausible.xml b/nixos/modules/services/web-apps/plausible.xml
index d1bcc22b231..92a571b9fbd 100644
--- a/nixos/modules/services/web-apps/plausible.xml
+++ b/nixos/modules/services/web-apps/plausible.xml
@@ -12,7 +12,7 @@
   <title>Basic Usage</title>
   <para>
    At first, a secret key is needed to be generated. This can be done with e.g.
-   <prompt>$ openssl rand -base64 64</prompt>
+   <screen><prompt>$ </prompt>openssl rand -base64 64</screen>
   </para>
   <para>
    After that, <package>plausible</package> can be deployed like this: