summary refs log tree commit diff
path: root/nixos/modules/services/misc/matrix-synapse.nix
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2020-10-05 23:35:28 +0200
committerGitHub <noreply@github.com>2020-10-05 23:35:28 +0200
commite0c48efc170866a8889b6b758aac10e6d04a4d9b (patch)
tree6d6e67fd84a4511f22655a10a205c2bd9efa0462 /nixos/modules/services/misc/matrix-synapse.nix
parentbe1281bc0b1e2a41fb00ea38b91ff60dad128ef9 (diff)
downloadnixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar.gz
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar.bz2
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar.lz
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar.xz
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.tar.zst
nixpkgs-e0c48efc170866a8889b6b758aac10e6d04a4d9b.zip
matrix-synapse module: fix documentation and add release notes (#99564)
Diffstat (limited to 'nixos/modules/services/misc/matrix-synapse.nix')
-rw-r--r--nixos/modules/services/misc/matrix-synapse.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix
index 3eb1073387f..7f42184735c 100644
--- a/nixos/modules/services/misc/matrix-synapse.nix
+++ b/nixos/modules/services/misc/matrix-synapse.nix
@@ -131,7 +131,12 @@ in {
       plugins = mkOption {
         type = types.listOf types.package;
         default = [ ];
-        defaultText = "with config.services.matrix-synapse.package.plugins [ matrix-synapse-ldap3 matrix-synapse-pam ]";
+        example = literalExample ''
+          with config.services.matrix-synapse.package.plugins; [
+            matrix-synapse-ldap3
+            matrix-synapse-pam
+          ];
+        '';
         description = ''
           List of additional Matrix plugins to make available.
         '';