Skip to content

Commit

Permalink
remove matrix sliding-sync config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninlives committed Dec 30, 2024
1 parent b197c6b commit 889d279
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions impl/echo/matrix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ in {
locations."/_matrix".proxyPass = "http://127.0.0.1:${toString port}";
locations."/_synapse/client".proxyPass = "http://127.0.0.1:${toString port}";
};
${dp.host.public.services.matrix-sync.fqdn} = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://${config.services.matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
};
};

services.postgresql = {
Expand All @@ -108,17 +103,8 @@ in {
owner = users.matrix-synapse.name;
group = groups.matrix-synapse.name;
};
sops.templates.sliding-sync.content = ''
SYNCV3_SECRET=${plh."matrix/sync-v3-secret"}
'';

systemd.tmpfiles.rules = with config.users; [
"d ${config.services.matrix-synapse.dataDir} 0700 ${users.matrix-synapse.name} ${groups.matrix-synapse.name} -"
];
revive.specifications.system.boxes = [
{
src = /Data/matrix-sliding-sync;
dst = /var/lib/private/matrix-sliding-sync;
}
];
}

0 comments on commit 889d279

Please sign in to comment.