about summary refs log tree commit diff
path: root/nixos/modules/services/matrix/synapse.md
diff options
context:
space:
mode:
authorannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-03-28 13:02:34 +0000
committerannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-03-28 13:02:34 +0000
commit675fb1648e6925ca87437bc98fce2077648e8be3 (patch)
tree7f48f889770fe72ecdc74d853af022bb8bc214d7 /nixos/modules/services/matrix/synapse.md
parent035b7f36aa1367c00845f669ef0617e55d31104f (diff)
parent69de1e1beb4fa322688a2bac5761e59a2b17e15e (diff)
Merge remote-tracking branch 'upstream/staging-next' into staging
 Conflicts:
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/deal/default.nix
	pkgs/development/python-modules/kubernetes/default.nix
Diffstat (limited to 'nixos/modules/services/matrix/synapse.md')
-rw-r--r--nixos/modules/services/matrix/synapse.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/matrix/synapse.md b/nixos/modules/services/matrix/synapse.md
index 9c9c025fc5f54..7f6587ce09df8 100644
--- a/nixos/modules/services/matrix/synapse.md
+++ b/nixos/modules/services/matrix/synapse.md
@@ -23,7 +23,7 @@ synapse server for the `example.org` domain, served from
 the host `myhostname.example.org`. For more information,
 please refer to the
 [installation instructions of Synapse](https://element-hq.github.io/synapse/latest/setup/installation.html) .
-```
+```nix
 { pkgs, lib, config, ... }:
 let
   fqdn = "${config.networking.hostName}.${config.networking.domain}";
@@ -158,7 +158,7 @@ in an additional file like this:
     by `matrix-synapse`.
   - Include the file like this in your configuration:
 
-    ```
+    ```nix
     {
       services.matrix-synapse.extraConfigFiles = [
         "/run/secrets/matrix-shared-secret"
@@ -190,7 +190,7 @@ fill in the required connection details automatically when you enter your
 Matrix Identifier. See
 [Try Matrix Now!](https://matrix.org/docs/projects/try-matrix-now.html)
 for a list of existing clients and their supported featureset.
-```
+```nix
 {
   services.nginx.virtualHosts."element.${fqdn}" = {
     enableACME = true;