From ab1725537d7c6c92bd642d5c6fa7f5656e5979ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Tue, 6 Sep 2022 02:50:59 +0000 Subject: mautrix.nix: JoinsNamespaceOf needs to be in unitConfig, not serviceConfig --- examples/mautrix.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/mautrix.nix') diff --git a/examples/mautrix.nix b/examples/mautrix.nix index e75aba8..5a37420 100644 --- a/examples/mautrix.nix +++ b/examples/mautrix.nix @@ -5,6 +5,10 @@ services.signald.enable = true; systemd.services.matrix-as-signal.requires = [ "signald.service" ]; systemd.services.matrix-as-signal.after = [ "signald.service" ]; + systemd.services.matrix-as-signal.unitConfig = { + JoinsNamespaceOf = "signald.service"; + }; + services.matrix-appservices = { addRegistrationFiles = true; @@ -27,7 +31,6 @@ package = pkgs.mautrix-signal; serviceConfig = { StateDirectory = [ "matrix-as-signal" "signald" ]; - JoinsNamespaceOf = "signald.service"; SupplementaryGroups = [ "signald" ]; }; settings.signal = { -- cgit v1.2.3