mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +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 = { };
|
type.services = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.openssh ];
|
||||||
|
|
||||||
services.synapse.workers.${name} = {
|
services.synapse.workers.${name} = {
|
||||||
package = import ./synapse-package.nix pkgs;
|
package = import ./synapse-package.nix pkgs;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -37,6 +39,11 @@ makeSystem {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
port = 9000;
|
||||||
|
bind_addresses = [ "127.0.0.1" ];
|
||||||
|
type = "manhole";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
worker_log_config = logConfig pkgs;
|
worker_log_config = logConfig pkgs;
|
||||||
|
|
|
@ -20,6 +20,8 @@ makeSystem {
|
||||||
type.services = { };
|
type.services = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.openssh ];
|
||||||
|
|
||||||
services.synapse = {
|
services.synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = import ./synapse-package.nix pkgs;
|
package = import ./synapse-package.nix pkgs;
|
||||||
|
@ -48,6 +50,11 @@ makeSystem {
|
||||||
compress = false;
|
compress = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
port = 9000;
|
||||||
|
bind_addresses = [ "127.0.0.1" ];
|
||||||
|
type = "manhole";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
public_baseurl = "https://matrix.redalder.org/";
|
public_baseurl = "https://matrix.redalder.org/";
|
||||||
|
|
Loading…
Reference in a new issue