summaryrefslogtreecommitdiff
path: root/sys/conduit/default.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-08-12 14:32:38 -0600
committerAlejandro Soto <alejandro@34project.org>2024-08-12 18:11:48 -0600
commitaeeb440774eba726a3abc17052546b1ccb8a35b3 (patch)
tree5334a0ef828170801c5ef6e86f7b73c65514ecf9 /sys/conduit/default.nix
parent107f24b24c390214c3944b29b49ba76de694d8cf (diff)
sys/conduit: switch to conduwuit
Diffstat (limited to 'sys/conduit/default.nix')
-rw-r--r--sys/conduit/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/conduit/default.nix b/sys/conduit/default.nix
index b3a03c4..1d59469 100644
--- a/sys/conduit/default.nix
+++ b/sys/conduit/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, flakes, lib, pkgs, ... }:
with lib; let
cfg = config.local.conduit;
@@ -23,6 +23,8 @@ in
services.matrix-conduit = {
enable = true;
+ package = flakes.conduwuit.packages.${pkgs.system}.default;
+
settings.global = {
port = cfg.listenPort;
address = cfg.listenAddress;
@@ -33,6 +35,9 @@ in
allow_encryption = true;
allow_federation = true;
allow_registration = false;
+ enable_lightning_bolt = false;
+ allow_check_for_updates = true;
+ new_user_displayname_suffix = "";
};
};
};