diff options
author | pennae <github@quasiparticle.net> | 2023-01-03 08:10:03 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-01-10 10:31:58 +0100 |
commit | 1bb00a9c1241157d3747a46dbcafa3a8a9289093 (patch) | |
tree | 973f96df25f733cfa9fcf901e87ba0dac0cb4819 /nixos/modules/services/web-apps/plausible.xml | |
parent | 42ea3f26993cd6b467ec900495915ec3b0a01c26 (diff) | |
download | nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar.gz nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar.bz2 nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar.lz nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar.xz nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.tar.zst nixpkgs-1bb00a9c1241157d3747a46dbcafa3a8a9289093.zip |
nixos/plausible: convert manual chapter to MD
Diffstat (limited to 'nixos/modules/services/web-apps/plausible.xml')
-rw-r--r-- | nixos/modules/services/web-apps/plausible.xml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/nixos/modules/services/web-apps/plausible.xml b/nixos/modules/services/web-apps/plausible.xml index 9546ae4e558..f84a91a9f8b 100644 --- a/nixos/modules/services/web-apps/plausible.xml +++ b/nixos/modules/services/web-apps/plausible.xml @@ -1,22 +1,23 @@ -<chapter xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - version="5.0" - xml:id="module-services-plausible"> - <title>Plausible</title> - <para> - <link xlink:href="https://plausible.io/">Plausible</link> is a privacy-friendly alternative to - Google analytics. - </para> - <section xml:id="module-services-plausible-basic-usage"> - <title>Basic Usage</title> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-plausible"> + <title>Plausible</title> <para> - At first, a secret key is needed to be generated. This can be done with e.g. - <screen><prompt>$ </prompt>openssl rand -base64 64</screen> + <link xlink:href="https://plausible.io/">Plausible</link> is a + privacy-friendly alternative to Google analytics. </para> - <para> - After that, <literal>plausible</literal> can be deployed like this: -<programlisting> + <section xml:id="module-services-plausible-basic-usage"> + <title>Basic Usage</title> + <para> + At first, a secret key is needed to be generated. This can be done + with e.g. + </para> + <programlisting> +$ openssl rand -base64 64 +</programlisting> + <para> + After that, <literal>plausible</literal> can be deployed like + this: + </para> + <programlisting> { services.plausible = { enable = true; @@ -26,18 +27,17 @@ # postgresql is configured by the module. This is done by default, but # can be turned off with services.plausible.database.postgres.setup. activate = true; - email = "admin@localhost"; - passwordFile = "/run/secrets/plausible-admin-pwd"; + email = "admin@localhost"; + passwordFile = "/run/secrets/plausible-admin-pwd"; }; server = { - baseUrl = "http://analytics.example.org"; + baseUrl = "http://analytics.example.org"; # secretKeybaseFile is a path to the file which contains the secret generated # with openssl as described above. - secretKeybaseFile = "/run/secrets/plausible-secret-key-base"; + secretKeybaseFile = "/run/secrets/plausible-secret-key-base"; }; }; } </programlisting> - </para> - </section> + </section> </chapter> |