From 3dc736f1fac7a8ece7dcda8d497a6e274e187dc0 Mon Sep 17 00:00:00 2001 From: op Date: Sat, 27 Apr 2024 21:31:35 +0100 Subject: laurel: add conduit homeserver --- hosts/laurel/configuration.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix index 541f185..29864cf 100644 --- a/hosts/laurel/configuration.nix +++ b/hosts/laurel/configuration.nix @@ -20,7 +20,7 @@ # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.hostName = "laurel"; - networking.firewall.allowedTCPPorts = [ 80 443 ]; + networking.firewall.allowedTCPPorts = [ 80 443 6197 ]; time.timeZone = "Europe/London"; i18n.defaultLocale = "en_US.UTF-8"; @@ -140,6 +140,22 @@ }; }; + services.matrix-conduit = { + enable = true; + settings = { + global = { + allow_encryption = true; + allow_federation = true; + allow_registration = false; + database_backend = "rocksdb"; + server_name = "oppi.li"; + address = "0.0.0.0"; + port = 6197; + enable_lightning_bolt = false; + }; + }; + }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; -- cgit v1.2.3