diff --git a/config/hosts/wind/data/secrets/secrets.nix b/config/hosts/wind/data/secrets/secrets.nix index d95a37c..47c5c6e 100644 Binary files a/config/hosts/wind/data/secrets/secrets.nix and b/config/hosts/wind/data/secrets/secrets.nix differ diff --git a/config/hosts/wind/services/nginx.nix b/config/hosts/wind/services/nginx.nix index 48176d7..ebafed1 100644 --- a/config/hosts/wind/services/nginx.nix +++ b/config/hosts/wind/services/nginx.nix @@ -5,6 +5,10 @@ enableACME = true; forceSSL = true; locations."/".root = "/var/www/graven.dev/public"; + locations."~ ^/(client|_matrix/client/unstable/org.matrix.msc3575/sync)" = { + proxyPass = "http://127.0.0.1:8009"; + priority = 900; + }; locations."~ ^(\\/_matrix|\\/_synapse\\/client)" = { proxyPass = "http://127.0.0.1:8008"; priority = 1000; diff --git a/config/hosts/wind/services/synapse.nix b/config/hosts/wind/services/synapse.nix index c5899eb..8d4ab4d 100644 --- a/config/hosts/wind/services/synapse.nix +++ b/config/hosts/wind/services/synapse.nix @@ -66,5 +66,10 @@ ]; }; }; + services.matrix-sliding-sync = { + enable = true; + settings.SYNCV3_SERVER = "https://graven.dev"; + environmentFile = builtins.toString config.secrets.files.synapse_sliding_sync_env.file; + }; } diff --git a/config/sources/nix/sources.json b/config/sources/nix/sources.json index c961849..07bd927 100644 --- a/config/sources/nix/sources.json +++ b/config/sources/nix/sources.json @@ -5,10 +5,10 @@ "homepage": "https://github.com/nmattia/niv", "owner": "nmattia", "repo": "niv", - "rev": "55422d6f2618cd2195eeafa3f16ae63fde723c15", - "sha256": "1s6m41hhsydf3lw6ihksc904vcpyd5agwiqq8hb8plyqvsyn74ba", + "rev": "e80fc8fae87cc91f449533fca6b9cadf8be69e6c", + "sha256": "024hnxvqk8z5n2n54rj05l91q38g9y8nwvrj46xml13kjmg4shb3", "type": "tarball", - "url": "https://github.com/nmattia/niv/archive/55422d6f2618cd2195eeafa3f16ae63fde723c15.tar.gz", + "url": "https://github.com/nmattia/niv/archive/e80fc8fae87cc91f449533fca6b9cadf8be69e6c.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixos-hardware": { @@ -17,10 +17,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "90642a0deae927fa911d49d4f7c5616257105141", - "sha256": "0y2vp5jvjn0bldnram5nw5rbiiky6crzkf2ix5m6qd1mcd26s9n0", + "rev": "38279034170b1e2929b2be33bdaedbf14a57bfeb", + "sha256": "1grc0z1s4imnfy0xn17qg50lsy27d856l48zlk6k0nyhxmhsskrm", "type": "tarball", - "url": "https://github.com/NixOS/nixos-hardware/archive/90642a0deae927fa911d49d4f7c5616257105141.tar.gz", + "url": "https://github.com/NixOS/nixos-hardware/archive/38279034170b1e2929b2be33bdaedbf14a57bfeb.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs": { @@ -29,10 +29,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d063c1dd113c91ab27959ba540c0d9753409edf3", - "sha256": "0nh2q19pcw3nccdsr3318zsbsdanfs6ckapi4wrnm4bxdmcbrnbr", + "rev": "4eb33fe664af7b41a4c446f87d20c9a0a6321fa3", + "sha256": "0wmz8y0ac88r53jd61m83bp55h36hdxvdk848iiz1yg51n2qyf1c", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/d063c1dd113c91ab27959ba540c0d9753409edf3.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/4eb33fe664af7b41a4c446f87d20c9a0a6321fa3.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixus": {