mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
Changes to matrix
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
544e95bd6f
commit
465549d00b
|
@ -30,6 +30,7 @@ in {
|
|||
flake.nixngConfigurations.synapseFederationSender = callPackage ./generic_worker.nix {
|
||||
name = "generic";
|
||||
listener_resources = singleton "health";
|
||||
port = 6171;
|
||||
};
|
||||
flake.nixngConfigurations.synapseFederationReceiver = callPackage ./generic_worker.nix {
|
||||
name = "generic";
|
||||
|
@ -37,6 +38,7 @@ in {
|
|||
"health"
|
||||
"federation"
|
||||
];
|
||||
port = 6170;
|
||||
};
|
||||
flake.nixngConfigurations.synapseClient = callPackage ./generic_worker.nix {
|
||||
name = "generic";
|
||||
|
@ -44,6 +46,7 @@ in {
|
|||
"client"
|
||||
"health"
|
||||
];
|
||||
port = 6168;
|
||||
};
|
||||
flake.nixngConfigurations.synapseSync = callPackage ./generic_worker.nix {
|
||||
name = "generic";
|
||||
|
@ -51,6 +54,7 @@ in {
|
|||
"client"
|
||||
"health"
|
||||
];
|
||||
port = 6169;
|
||||
};
|
||||
flake.nixngConfigurations.synapseRedis = callPackage ./redis.nix {};
|
||||
flake.nixngConfigurations.synapsePostgreSQL = callPackage ./postgresql.nix {};
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
name,
|
||||
logConfig,
|
||||
commonConfig,
|
||||
port,
|
||||
}:
|
||||
makeSystem {
|
||||
system = "x86_64-linux";
|
||||
|
@ -29,14 +30,15 @@ makeSystem {
|
|||
settings = mkMerge [
|
||||
{
|
||||
worker_app = "synapse.app.generic_worker";
|
||||
worker_name = "worker-${name}";
|
||||
|
||||
worker_listeners = [
|
||||
{
|
||||
port = 6167;
|
||||
inherit port;
|
||||
tls = false;
|
||||
type = "http";
|
||||
x_forwarded = true;
|
||||
bind_adrresses = ["0.0.0.0"];
|
||||
bind_addresses = ["0.0.0.0"];
|
||||
resources = [
|
||||
{
|
||||
names = listener_resources;
|
||||
|
|
|
@ -45,7 +45,7 @@ makeSystem {
|
|||
tls = false;
|
||||
type = "http";
|
||||
x_forwarded = true;
|
||||
bind_adrresses = ["0.0.0.0"];
|
||||
bind_addresses = ["0.0.0.0"];
|
||||
resources = singleton {
|
||||
names = ["client" "federation"];
|
||||
compress = false;
|
||||
|
|
Loading…
Reference in a new issue