diff --git a/nixng/containers/matrix/synapse/generic_worker.nix b/nixng/containers/matrix/synapse/generic_worker.nix index 8fc0f15..caca78c 100644 --- a/nixng/containers/matrix/synapse/generic_worker.nix +++ b/nixng/containers/matrix/synapse/generic_worker.nix @@ -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; diff --git a/nixng/containers/matrix/synapse/synapse.nix b/nixng/containers/matrix/synapse/synapse.nix index 065fdec..25a113b 100644 --- a/nixng/containers/matrix/synapse/synapse.nix +++ b/nixng/containers/matrix/synapse/synapse.nix @@ -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/";