summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/mautrix.nix5
1 files changed, 4 insertions, 1 deletions
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 = {