Add manhole to synapse

Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
magic_rb 2023-10-16 15:38:46 +02:00
parent 60622f12cc
commit 42c6068f6c
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 14 additions and 0 deletions

View file

@ -17,6 +17,8 @@ makeSystem {
type.services = { };
};
environment.systemPackages = [ pkgs.openssh ];
services.synapse.workers.${name} = {
package = import ./synapse-package.nix pkgs;
settings = {
@ -37,6 +39,11 @@ makeSystem {
}
];
}
{
port = 9000;
bind_addresses = [ "127.0.0.1" ];
type = "manhole";
}
];
worker_log_config = logConfig pkgs;

View file

@ -20,6 +20,8 @@ makeSystem {
type.services = { };
};
environment.systemPackages = [ pkgs.openssh ];
services.synapse = {
enable = true;
package = import ./synapse-package.nix pkgs;
@ -48,6 +50,11 @@ makeSystem {
compress = false;
};
}
{
port = 9000;
bind_addresses = [ "127.0.0.1" ];
type = "manhole";
}
];
public_baseurl = "https://matrix.redalder.org/";