diff --git a/hosts/nuc/modules/matrix/default.nix b/hosts/nuc/modules/matrix/default.nix index d46c038..99ca51d 100644 --- a/hosts/nuc/modules/matrix/default.nix +++ b/hosts/nuc/modules/matrix/default.nix @@ -15,9 +15,6 @@ in file = ../../../../secrets/nuc/matrix/shared.age; owner = config.systemd.services.matrix-synapse.serviceConfig.User; }; - "matrix/sync" = { - file = ../../../../secrets/nuc/matrix/sync.age; - }; }; nixpkgs.config.permittedInsecurePackages = [ "jitsi-meet-1.0.8043" @@ -59,22 +56,11 @@ in }]; }; }; - matrix-sliding-sync = { - enable = true; - settings = { - SYNCV3_SERVER = "https://${domain}"; - SYNCV3_BINDADDR = "/run/matrix-sliding-sync/server.sock"; - }; - environmentFile = config.age.secrets."matrix/sync".path; - }; - caddy = { virtualHosts = { # synapse "${domain}".extraConfig = '' - reverse_proxy /client/* unix//run/matrix-sliding-sync/server.sock - reverse_proxy /_matrix/client/unstable/org.matrix.msc3575/sync* unix//run/matrix-sliding-sync/server.sock reverse_proxy 127.0.0.1:8008 handle /_synapse/metrics* { respond 404 @@ -104,11 +90,6 @@ in RuntimeDirectory = "matrix-synapse"; }; }; - systemd.services.matrix-sliding-sync = { - serviceConfig = { - RuntimeDirectory = "matrix-sliding-sync"; - }; - }; systemd.services.matrix-synapse-pgsetup = { description = "Prepare Synapse postgres database"; diff --git a/secrets/nuc/matrix/sync.age b/secrets/nuc/matrix/sync.age deleted file mode 100644 index b7b6f0c..0000000 --- a/secrets/nuc/matrix/sync.age +++ /dev/null @@ -1,10 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 uWbAHQ XsGbKNzqR/HTkmMZxCcmxAXDIpuJENpJR1GyFuumMlo -T2uxdQvSKHveDL7nY0tlNAWNuUX/h8wEORV0xmNfqm8 --> ssh-ed25519 2TRdXg 57Bliz2LRjK5sHjGtRVdIUWfV7Iji0/RACEDF0dNUno -TMBsr9g940Xrbiu8XwbLKQJRNadC2+BuaTBbSo09t5A --> U1M[E6m-grease US!+ :Hx\j7A K -7AyVWcQChTJPlIoH7ZLebV7C+HJACc4vsBRrma+m47r9FV+KmVpfrhPy7jH1wSkX -sG2Du4OrPh5+xPAgNaPNw3rbex9I6oRjmbhJ ---- gW24zSlBpNtmQhp0Er4MaZV/K8TigsV+d7jMulAR3YQ -\4O M_@ aŀ@6[XCͦ||" zOƔ!:>xMH(KByZ 1*]d|l? tE_: \ No newline at end of file