Continuwuity for NixOS
Nix package
You can get a Nix package for Continuwuity from the following sources:
-
Directly from Nixpkgs:
pkgs.matrix-continuwuity -
Or, using
continuwuity.packages.${system}.defaultfrom:- The
flake.nixat the root of the Continuwuity repo, by adding Continuwuity to your flake inputs:
- The
default.nixat the root of the Continuwuity repo
- The
NixOS module
Continuwuity has an official NixOS module that simplifies configuration and deployment. The module is available in Nixpkgs as services.matrix-continuwuity.
Here's a basic example of how to use the module:
Available options
The NixOS module provides these configuration options:
enable: Enable the Continuwuity serviceuser: The user to run Continuwuity as (defaults to "continuwuity")group: The group to run Continuwuity as (defaults to "continuwuity")extraEnvironment: Extra environment variables to pass to the Continuwuity serverpackage: The Continuwuity package to use, defaults topkgs.matrix-continuwuity- You may want to override this to be from our flake, for faster updates and unstable versions:
admin.enable: Whether to add theconduwuitbinary toPATHfor administration (enabled by default)settings: The Continuwuity configuration
Use the settings option to configure Continuwuity itself. See the example configuration file for all available options.
Settings are automatically translated from Nix to TOML. For example, the following line of Nix:
Would become this equivalent TOML configuration:
Reverse proxy configuration
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 for information on correct reverse proxy configuration.