diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-03-15 16:58:50 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-03-16 10:39:42 +0100 |
commit | 849e16888f439d98ba99c6a67123033edaa56663 (patch) | |
tree | 43c0127835056786224e0e8b5c0e6b552d9c1e17 /nixos/modules/services/misc/matrix-synapse.nix | |
parent | 8be61f7a36f403c15e1a242e129be7375aafaa85 (diff) | |
download | nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar.gz nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar.bz2 nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar.lz nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar.xz nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.tar.zst nixpkgs-849e16888f439d98ba99c6a67123033edaa56663.zip |
nixos/doc/matrix-synapse: refactor
* Linkify all service options used in the code-examples. * Demonstrated the use of `riot-web.override {}`. * Moved the example how to configure a postgresql-database for `matrix-synapse` to this document from the 20.03 release-notes.
Diffstat (limited to 'nixos/modules/services/misc/matrix-synapse.nix')
-rw-r--r-- | nixos/modules/services/misc/matrix-synapse.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix index 52b917a73a0..d02fa13bb99 100644 --- a/nixos/modules/services/misc/matrix-synapse.nix +++ b/nixos/modules/services/misc/matrix-synapse.nix @@ -113,7 +113,7 @@ ${cfg.extraConfig} ''; hasLocalPostgresDB = let args = cfg.database_args; in - usePostgresql && (!(args ? host) || (elem args.host [ "localhost" "127.0.0.1" ])); + usePostgresql && (!(args ? host) || (elem args.host [ "localhost" "127.0.0.1" "::1" ])); in { options = { services.matrix-synapse = { @@ -721,4 +721,6 @@ in { '') ]; + meta.doc = ./matrix-synapse.xml; + } |