summaryrefslogtreecommitdiff
path: root/hosts/kay
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-24 07:22:21 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-27 08:14:06 +0530
commit565225847ebf54aa57722271dd83d99954a55076 (patch)
tree4b0bdeaff2907a783e3081ad2658a49c64ec5537 /hosts/kay
parenta74e008263afe2a3a71a4cf5b76ca71e62ae3b21 (diff)
modules/matrix-sliding-sync: init dendrite
Diffstat (limited to 'hosts/kay')
-rw-r--r--hosts/kay/modules/matrix-sliding-sync.nix (renamed from hosts/kay/modules/matrix_sliding_sync.nix)2
-rw-r--r--hosts/kay/modules/www.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/hosts/kay/modules/matrix_sliding_sync.nix b/hosts/kay/modules/matrix-sliding-sync.nix
index f18ef10..526734b 100644
--- a/hosts/kay/modules/matrix_sliding_sync.nix
+++ b/hosts/kay/modules/matrix-sliding-sync.nix
@@ -6,7 +6,7 @@ in
{
sops.secrets."matrix-${domain}/sliding_sync" = {};
- services.matrix-synapse.sliding-sync = {
+ services.matrix-sliding-sync = {
enable = true;
environmentFile = config.sops.secrets."matrix-${domain}/sliding_sync".path;
settings.SYNCV3_SERVER = "https://${domain}";
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix
index 4ffa141..aec5d5a 100644
--- a/hosts/kay/modules/www.nix
+++ b/hosts/kay/modules/www.nix
@@ -9,7 +9,7 @@ in
{
imports = [
./dendrite.nix
- ./matrix_sliding_sync.nix
+ ./matrix-sliding-sync.nix
./cgit.nix
];
@@ -53,7 +53,7 @@ in
}}'
'';
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" = let
- addr = "${config.services.matrix-synapse.sliding-sync.settings.SYNCV3_BINDADDR}";
+ addr = "${config.services.matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
in {
proxyPass = "http://${addr}";
};