mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Add manhole to synapse
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
60622f12cc
commit
42c6068f6c
|
@ -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;
|
||||
|
|
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue