summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2024-11-01 16:48:36 +0000
committerRory&::Emma <root@rory.gay>2024-11-01 16:48:36 +0000
commitd158bdec371ebb5175c9f6b6b6f27b4afadddbc9 (patch)
tree8791cbb822e88e3173aea9850f6b2a3e1657abbd
parentAdd Fedora Draupnir instance (diff)
downloadRory-Open-Architecture-d158bdec371ebb5175c9f6b6b6f27b4afadddbc9.tar.xz
Server changes
-rwxr-xr-xhost/Rory-nginx/services/matrix/draupnir.nix8
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix1
2 files changed, 5 insertions, 4 deletions
diff --git a/host/Rory-nginx/services/matrix/draupnir.nix b/host/Rory-nginx/services/matrix/draupnir.nix
index 8be10bc..adc525c 100755
--- a/host/Rory-nginx/services/matrix/draupnir.nix
+++ b/host/Rory-nginx/services/matrix/draupnir.nix
@@ -2,10 +2,10 @@
 
 {
   services.draupnir = {
-    package = (pkgs.draupnir.overrideAttrs (oldAttrs: {
-      src = draupnirSrc;
-      version = draupnirSrc.rev;
-    }));
+    #package = (pkgs.draupnir.overrideAttrs (oldAttrs: {
+    #  src = draupnirSrc;
+    #  version = draupnirSrc.rev;
+    #}));
   
     enable = true;
     homeserverUrl = "https://matrix.rory.gay";
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
index e52010c..1e0c638 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
@@ -14,6 +14,7 @@ let
       "~ ^/_synapse/admin/v1/purge_media_cache$"
       "~ ^/_synapse/admin/v1/room/.*/media.*$"
       "~ ^/_synapse/admin/v1/user/.*/media.*$"
+      "~ ^/_synapse/admin/v1/users/.*/media$"
       "~ ^/_synapse/admin/v1/media/.*$"
       "~ ^/_synapse/admin/v1/quarantine_media/.*$"
       "~ ^/_matrix/media/"