summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-22 17:28:02 +0200
committerSoispha <soispha@vhack.eu>2023-07-22 17:58:36 +0200
commit3982b3d5abed368985dd9d325b6b544e86701d7e (patch)
tree29ccede150bb5ec67d4cc845629f86b209a139bf /system/services
parentFix(system/services/matrix): Fix extra " =" in locations path (diff)
downloadnixos-server-3982b3d5abed368985dd9d325b6b544e86701d7e.tar.gz
nixos-server-3982b3d5abed368985dd9d325b6b544e86701d7e.zip
Fix(system/services/matrix): Move persisting files ctrl to impermanence
Diffstat (limited to 'system/services')
-rw-r--r--system/services/matrix/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/services/matrix/default.nix b/system/services/matrix/default.nix
index a088159..0a55e32 100644
--- a/system/services/matrix/default.nix
+++ b/system/services/matrix/default.nix
@@ -50,10 +50,10 @@ in {
 
   services.matrix-synapse = {
     enable = true;
-    dataDir = "/srv/matrix/data";
-    configFile = "/srv/matrix";
+    dataDir = "/var/lib/matrix";
+    configFile = "/etc/matrix/matrix.conf";
     settings = {
-      media_store_path = "/srv/matrix/media_store";
+      media_store_path = "/var/lib/matrix/media_store";
       server_name = "vhack.eu";
       listeners = [
         {