mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
remove matrix-sliding-sync
This commit is contained in:
parent
3a836ed4a7
commit
86cd05062e
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
\4À‹±¼µƒOÒ<0B>ˆM©•_è–@…
Œ¾aÅ€@ã6¦³½ï[×XC–ͦ챞|<7C>|"£–—¢
÷z<C3B7>OÆ”!:>xMH( KBóy¼Z ‹1ù*“]‰d|ýÀ¦l?þ
t·¹öE_:
|
Loading…
Reference in a new issue