summaryrefslogtreecommitdiff
path: root/hosts/kay/modules
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/kay/modules')
-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}";
};