idk get sliding sync stuffs working

This commit is contained in:
Schrottkatze 2024-05-01 17:57:28 +02:00
parent 536ed2f421
commit 7d126b7bda
No known key found for this signature in database

View file

@ -1,12 +1,10 @@
{ config
, pkgsUnstable
, inputs
, ...
}:
let
{
config,
pkgsUnstable,
inputs,
...
}: let
# You'll need to edit these values
# The hostname that will appear in your user and room IDs
server_name = "katzen.cafe";
@ -35,12 +33,13 @@ let
{
"m.homeserver": {
"base_url": "https://${matrix_hostname}"
},
"org.matrix.msc3575.proxy": {
"url": "https://${matrix_hostname}"
}
}
'';
in
{
in {
# Configure Conduit itself
services.matrix-conduit = {
enable = true;
@ -94,7 +93,8 @@ in
addr = "[::]";
port = 443;
ssl = true;
} {
}
{
addr = "0.0.0.0";
port = 8448;
ssl = true;
@ -152,13 +152,13 @@ in
upstreams = {
"backend_conduit" = {
servers = {
"[::1]:${toString config.services.matrix-conduit.settings.global.port}" = { };
"[::1]:${toString config.services.matrix-conduit.settings.global.port}" = {};
};
};
};
};
# Open firewall ports for HTTP, HTTPS, and Matrix federation
networking.firewall.allowedTCPPorts = [ 80 443 8448 ];
networking.firewall.allowedUDPPorts = [ 80 443 8448 ];
networking.firewall.allowedTCPPorts = [80 443 8448];
networking.firewall.allowedUDPPorts = [80 443 8448];
}