diff options
author | pennae <github@quasiparticle.net> | 2023-01-04 02:29:10 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-01-10 10:31:54 +0100 |
commit | 14cc405a6902bfb929c370e2039f62ba74f4400a (patch) | |
tree | 8421d576846cb813ce3396bae607217ab9268097 /nixos/modules/services/web-apps/plausible.xml | |
parent | 90b4cb8ed2240b62d56e866816bf439e943a1e3e (diff) | |
download | nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar.gz nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar.bz2 nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar.lz nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar.xz nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.tar.zst nixpkgs-14cc405a6902bfb929c370e2039f62ba74f4400a.zip |
nixos/manual: inline callout lists
we only have three uses at the moment, all of them in code blocks where they could just as well (or maybe better) be comments. markdown can't do callouts without another pandoc filter, so we'll turn them into comments instead. synapse would've benefited from inline links, but referencing an external numbered list as plain text (instead of clickable links, like callout lists had) seems even worse than putting urls into comments as plain text.
Diffstat (limited to 'nixos/modules/services/web-apps/plausible.xml')
-rw-r--r-- | nixos/modules/services/web-apps/plausible.xml | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/nixos/modules/services/web-apps/plausible.xml b/nixos/modules/services/web-apps/plausible.xml index 929d4db2291..9546ae4e558 100644 --- a/nixos/modules/services/web-apps/plausible.xml +++ b/nixos/modules/services/web-apps/plausible.xml @@ -21,33 +21,23 @@ services.plausible = { enable = true; adminUser = { - activate = true; <co xml:id='ex-plausible-cfg-activate' /> + # activate is used to skip the email verification of the admin-user that's + # automatically created by plausible. This is only supported if + # 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"; }; server = { baseUrl = "http://analytics.example.org"; - secretKeybaseFile = "/run/secrets/plausible-secret-key-base"; <co xml:id='ex-plausible-cfg-secretbase' /> + # secretKeybaseFile is a path to the file which contains the secret generated + # with openssl as described above. + secretKeybaseFile = "/run/secrets/plausible-secret-key-base"; }; }; } </programlisting> - <calloutlist> - <callout arearefs='ex-plausible-cfg-activate'> - <para> - <varname>activate</varname> is used to skip the email verification of the admin-user that's - automatically created by <package>plausible</package>. This is only supported if - <package>postgresql</package> is configured by the module. This is done by default, but - can be turned off with <xref linkend="opt-services.plausible.database.postgres.setup" />. - </para> - </callout> - <callout arearefs='ex-plausible-cfg-secretbase'> - <para> - <varname>secretKeybaseFile</varname> is a path to the file which contains the secret generated - with <package>openssl</package> as described above. - </para> - </callout> - </calloutlist> </para> </section> </chapter> |