summary refs log tree commit diff stats
path: root/system/impermanence
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-27 09:45:30 +0200
committerSoispha <soispha@vhack.eu>2023-07-27 09:45:30 +0200
commit7fe499ee1ff7ecd88b4ecfc96b200ed2704468a7 (patch)
tree6fd8244d093aec15999cbebb6d12a54f4a7b679c /system/impermanence
parentFix(system/mail): Add User (diff)
downloadnixos-server-7fe499ee1ff7ecd88b4ecfc96b200ed2704468a7.tar.gz
nixos-server-7fe499ee1ff7ecd88b4ecfc96b200ed2704468a7.zip
Feat(system/services/matrix/bridges): Add mautrix-whatsapp bridge
Diffstat (limited to '')
-rw-r--r--system/impermanence/mods/matrix.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/impermanence/mods/matrix.nix b/system/impermanence/mods/matrix.nix
index 7f02609..3af6530 100644
--- a/system/impermanence/mods/matrix.nix
+++ b/system/impermanence/mods/matrix.nix
@@ -6,6 +6,12 @@
       group = "matrix-synapse";
       mode = "0700";
     }
+    {
+      directory = "/var/lib/mautrix-whatsapp";
+      user = "mautrix-whatsapp";
+      group = "matrix-synapse";
+      mode = "0750";
+    }
   ];
   systemd.tmpfiles.rules = [
     "d /etc/matrix 0755 matrix-synapse matrix-synapse"