matrix update
This commit is contained in:
parent
19bedee269
commit
3755fce6d7
2 changed files with 9 additions and 3 deletions
|
@ -6,7 +6,8 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
./matrix.nix
|
# ./matrix.nix
|
||||||
|
./matrix_legacy.nix
|
||||||
./puffer.nix
|
./puffer.nix
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./grafana.nix
|
./grafana.nix
|
||||||
|
@ -18,7 +19,7 @@ in
|
||||||
# ./discord-matrix-bridge.nix
|
# ./discord-matrix-bridge.nix
|
||||||
./mastodon.nix
|
./mastodon.nix
|
||||||
./nix_cache.nix
|
./nix_cache.nix
|
||||||
./ooye
|
# ./ooye
|
||||||
# ./auth.nix
|
# ./auth.nix
|
||||||
./hedgedoc.nix
|
./hedgedoc.nix
|
||||||
# ./factorio.nix
|
# ./factorio.nix
|
||||||
|
|
|
@ -42,7 +42,7 @@ in
|
||||||
# The default value here is based on `server_name`, so if your `server_name` is different
|
# The default value here is based on `server_name`, so if your `server_name` is different
|
||||||
# from the value of `fqdn` above, you will likely run into some mismatched domain names
|
# from the value of `fqdn` above, you will likely run into some mismatched domain names
|
||||||
# in client applications.
|
# in client applications.
|
||||||
settings.public_baseurl = base_url;
|
settings.public_baseurl = "https://${vhosts.matrix_host.host}";
|
||||||
settings.listeners = [
|
settings.listeners = [
|
||||||
{
|
{
|
||||||
port = 8008;
|
port = 8008;
|
||||||
|
@ -67,6 +67,11 @@ in
|
||||||
args = {
|
args = {
|
||||||
user = "synapse";
|
user = "synapse";
|
||||||
database = "synapse";
|
database = "synapse";
|
||||||
|
port = config.services.postgresql.settings.port;
|
||||||
|
cp_max = 10;
|
||||||
|
cp_min = 5;
|
||||||
|
client_encoding = "auto";
|
||||||
|
passfile = config.age.secrets.synapse_db_pass_prepared.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
settings.log_config = ./matrix_synapse_log_config.yaml;
|
settings.log_config = ./matrix_synapse_log_config.yaml;
|
||||||
|
|
Loading…
Reference in a new issue