summary refs log tree commit diff
path: root/host/Rory-nginx
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx')
-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/"