From 9b9d4213c36032e53b8fcf7c822460d0750b7769 Mon Sep 17 00:00:00 2001 From: dish Date: Thu, 29 May 2025 17:03:09 -0400 Subject: [PATCH] [marvin.services] conduit: update config --- .../x86_64-linux/marvin/services/matrix.nix | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/marvin/services/matrix.nix b/systems/x86_64-linux/marvin/services/matrix.nix index 0c390534..61d43064 100644 --- a/systems/x86_64-linux/marvin/services/matrix.nix +++ b/systems/x86_64-linux/marvin/services/matrix.nix @@ -20,10 +20,34 @@ in "matrix.org" "vector.im" "catgirl.cloud" + "nixos.org" ]; address = "0.0.0.0"; - well_known_client = "https://${d.extUrl}"; - well_known_server = "${d.extUrl}:443"; + well_known = { + client = "https://${d.extUrl}"; + server = "${d.extUrl}:443"; + }; + media = { + backend = "filesystem"; + directory_structure = { + depth = 2; + length = 3; + }; + retention = [ + { + space = "100G"; + } + { + scope = "remote"; + accessed = "30d"; + created = "90d"; + } + { + scope = "thumbnail"; + space = "1G"; + } + ]; + }; }; }; } -- 2.54.0