From f40e0c7773e7be3578887f2b1afbd6d53f573fa1 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Wed, 8 Apr 2026 16:48:52 -0400 Subject: [PATCH] feat: more specific docs on how to use the flake nix package --- docs/deploying/nixos.mdx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/deploying/nixos.mdx b/docs/deploying/nixos.mdx index 4237d2f2a..f93092931 100644 --- a/docs/deploying/nixos.mdx +++ b/docs/deploying/nixos.mdx @@ -6,9 +6,10 @@ NixOS packages Continuwuity as `matrix-continuwuity`. This package includes both You can acquire Continuwuity with Nix (or [Lix][lix]) from these sources: -* Directly from Nixpkgs using the official package (`pkgs.matrix-continuwuity`) -* The `flake.nix` at the root of the Continuwuity repo -* The `default.nix` at the root of the Continuwuity repo +- Directly from Nixpkgs using the official package (`pkgs.matrix-continuwuity`) +- Or, using `continuwuity.packages.${system}.default` from: + - The `flake.nix` at the root of the Continuwuity repo + - The `default.nix` at the root of the Continuwuity repo ## NixOS module @@ -22,6 +23,8 @@ Here's a basic example of how to use the module: { services.matrix-continuwuity = { enable = true; + # Optionally, override the package to be from our flake, for faster updates or unstable versions. + # package = inputs.continuwuity.packages.${pkgs.stdenv.hostPlatform.system}.default; settings = { global = { server_name = "example.com";