mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: more specific docs on how to use the flake nix package
This commit is contained in:
@@ -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:
|
You can acquire Continuwuity with Nix (or [Lix][lix]) from these sources:
|
||||||
|
|
||||||
* Directly from Nixpkgs using the official package (`pkgs.matrix-continuwuity`)
|
- Directly from Nixpkgs using the official package (`pkgs.matrix-continuwuity`)
|
||||||
* The `flake.nix` at the root of the Continuwuity repo
|
- Or, using `continuwuity.packages.${system}.default` from:
|
||||||
* The `default.nix` at the root of the Continuwuity repo
|
- The `flake.nix` at the root of the Continuwuity repo
|
||||||
|
- The `default.nix` at the root of the Continuwuity repo
|
||||||
|
|
||||||
## NixOS module
|
## NixOS module
|
||||||
|
|
||||||
@@ -22,6 +23,8 @@ Here's a basic example of how to use the module:
|
|||||||
{
|
{
|
||||||
services.matrix-continuwuity = {
|
services.matrix-continuwuity = {
|
||||||
enable = true;
|
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 = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
server_name = "example.com";
|
server_name = "example.com";
|
||||||
|
|||||||
Reference in New Issue
Block a user