update terranix matrix
This commit is contained in:
parent
e4eaf29412
commit
febb509b10
1 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,14 @@ let
|
||||||
# 2. test with : https://federationtester.matrix.org/#terranix.org
|
# 2. test with : https://federationtester.matrix.org/#terranix.org
|
||||||
# 3. info at : https://silvio.github.io/docker-matrix/Example.configs.html
|
# 3. info at : https://silvio.github.io/docker-matrix/Example.configs.html
|
||||||
|
|
||||||
|
name = "terranix";
|
||||||
domain = "terranix.org";
|
domain = "terranix.org";
|
||||||
baseUrl = "https://matrix.${domain}";
|
baseUrl = "https://matrix.${domain}";
|
||||||
|
|
||||||
synapse_port = 8008;
|
synapse_port = 8008;
|
||||||
federation_port = 8448;
|
federation_port = 8448;
|
||||||
|
|
||||||
matrix_create_user = pkgs.writers.writeBashBin "matrix-create-user-${domain}" ''
|
matrix_create_user = pkgs.writers.writeBashBin "matrix-create-user-${name}" ''
|
||||||
${pkgs.matrix-synapse}/bin/register_new_matrix_user \
|
${pkgs.matrix-synapse}/bin/register_new_matrix_user \
|
||||||
-k $( ${pkgs.gojq}/bin/gojq \
|
-k $( ${pkgs.gojq}/bin/gojq \
|
||||||
--yaml-input \
|
--yaml-input \
|
||||||
|
@ -55,8 +56,7 @@ in
|
||||||
};
|
};
|
||||||
users.groups.matrix-synapse.gid = config.ids.gids.matrix-synapse;
|
users.groups.matrix-synapse.gid = config.ids.gids.matrix-synapse;
|
||||||
|
|
||||||
# todo : mount postgresql folder in a dedicated zfs pool
|
containers."matrix-${name}" = {
|
||||||
containers.matrix-terranix = {
|
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = false;
|
privateNetwork = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue