feat: matrix: s3 object storage

This commit is contained in:
2026-05-23 09:59:34 +00:00
parent 990e184ae3
commit 919190e7b4
3 changed files with 377 additions and 142 deletions
+12
View File
@@ -75,6 +75,13 @@ in {
passwordFile = config.sops.secrets."matrix/users/lvgkcfjl/password".path;
};
};
objectStorage.s3 = {
enable = true;
bucket = "matrix-hectic-lab";
regionName = "hel1";
endpointUrl = "https://hel1.your-objectstorage.com";
credentialsFile = config.sops.secrets."matrix/object-storage/credentials".path;
};
inherit matrixDomain;
};
};
@@ -169,6 +176,11 @@ in {
key = "matrix/users/lvgkcfjl/password";
owner = "matrix-synapse";
};
sops.secrets."matrix/object-storage/credentials" = {
key = "matrix/object-storage/credentials";
owner = "matrix-synapse";
mode = "0400";
};
services.mailserver = {
enable = true;