From 6dbe40238d8cefcaff90b04acc1a90900b0b58e5 Mon Sep 17 00:00:00 2001 From: stratself Date: Wed, 14 Oct 2026 05:39:30 +0000 Subject: [PATCH] docs(nixos): Beautify nix a bit * Add well-known config example to nixfile * Add postinstall redirect section --- docs/deploying/nixos.mdx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/deploying/nixos.mdx b/docs/deploying/nixos.mdx index 0d193b4a2..7af9f8755 100644 --- a/docs/deploying/nixos.mdx +++ b/docs/deploying/nixos.mdx @@ -31,7 +31,14 @@ services.matrix-continuwuity = { # address and port are handled automatically # You can add any further configuration here, e.g. - # trusted_servers = [ "matrix.org" ]; + # trusted_servers = [ "matrix.org" ]; + + ## (if using well-known delegation) + # well_known = { + # client = "https://matrix.example.com"; + # server = "matrix.example.com:443"; + # } + }; }; }; @@ -79,3 +86,9 @@ client = "https://matrix.example.com" You'll need to set up a reverse proxy (like NGINX or Caddy) to expose Continuwuity to the internet. You can configure your reverse proxy using NixOS options (e.g. `services.caddy`). See the [reverse proxy setup guide](./generic.mdx#setting-up-the-reverse-proxy) for information on correct reverse proxy configuration. + +Then, test that your setup works by following these [instructions](./generic.mdx#how-do-i-know-it-works). + +## What's next? + +Navigate to [Post-installation](../deploying.mdx#post-installation) for next steps.