feat: matrix: s3 object storage
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user