add matrix-sliding-sync

Close #17
This commit is contained in:
2023-07-09 19:58:59 -04:00
parent 74e75de168
commit 4decbc5f3c
4 changed files with 80 additions and 4 deletions

View File

@ -1,6 +1,10 @@
{ config, pkgs, ... }:
{
imports = [
../../services/matrix-sliding-sync.nix
];
environment.systemPackages = with pkgs; [
matrix-synapse-tools.synadm
];
@ -17,7 +21,7 @@
LC_CTYPE = "C";
'';
};
postgresqlBackup.databases = [ "matrix" ];
postgresqlBackup.databases = [ "matrix" "matrix-syncv3" ];
matrix-synapse = {
enable = true;
@ -48,6 +52,8 @@
config.sops.secrets.matrix-registration-secret.path
];
};
matrix-syncv3.enable = true;
};
sops.secrets.matrix-registration-secret = {