!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

118 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix61 Servers

Load older messages


SenderMessageTime
15 Mar 2023
@ma27:nicht-so.sexyma27but yeah it sounds reasonable, so I'd say if you have the time for it then go for it, I'm happy to test the changes on my server if needed then :) 12:10:55
@hexa:lossy.networkhexafine, lets get the bump in first, I'll rebase ๐Ÿ˜›12:38:11
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/22131812:52:20
@hexa:lossy.networkhexa Dandellion: by the way: worker support when? ๐Ÿ˜„ 12:59:27
@dandellion:dodsorf.asDandellion๐Ÿ˜ฌ probably after I've reworked how I do stream writers13:02:17
@hexa:lossy.networkhexastream writers?13:21:04
@dandellion:dodsorf.asDandellionhttps://github.com/matrix-org/synapse/blob/develop/docs/workers.md#stream-writers they're just a little more involved to set up so aren't as compatible with some of the abstracted worker-type machinery13:25:57
@hexa:lossy.networkhexahrm13:27:23
@hexa:lossy.networkhexaI would be up for a smaller start and incrementally adding complexity13:27:37
@hexa:lossy.networkhexabecause so far we only have out-of-tree solution13:27:48
@hexa:lossy.networkhexa * because so far we only have the out-of-tree solution13:28:14
@dandellion:dodsorf.asDandellionI can just upstream the worker.instance stuff first ig13:28:15
@hexa:lossy.networkhexaprobably for the best13:28:25
@hexa:lossy.networkhexawould be happy to review13:28:49
@dandellion:dodsorf.asDandellionmaybe this weekend then :)13:28:53
19 Mar 2023
@motiejus:jakstys.ltmotiejus

hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to it). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles`. Here is how I envision the process exactly:

  • The secrets are written on ramfs reachable as root alone.
  • ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
  • extraConfigFiles then point to the places wherever the one-step-above generates them.

Am I doing this right? Any other hints/ideas?

19:11:28
@motiejus:jakstys.ltmotiejus *

hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles`. Here is how I envision the process exactly:

  • The secrets are written on ramfs reachable as root alone.
  • ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
  • extraConfigFiles then point to the places wherever the one-step-above generates them.

Am I doing this right? Any other hints/ideas?

19:11:48
@motiejus:jakstys.ltmotiejus *

hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles\. Here is how I envision the process exactly:

  • The secrets are written on ramfs reachable as root alone.
  • ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
  • extraConfigFiles then point to the places wherever the one-step-above generates them.

Am I doing this right? Any other hints/ideas?

19:12:03
@motiejus:jakstys.ltmotiejus also, somewhat related question about mautrix-facebook.nix: I am looking how to pass hs_token and as_token via registrationData, however, I am not clear how to not add the secrets to the nix store. These tokens are in separate files (like in my question below); any ideas how to pass them to the service? 19:59:06
21 Mar 2023
@motiejus:jakstys.ltmotiejus
In reply to @motiejus:jakstys.lt

hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles\. Here is how I envision the process exactly:

  • The secrets are written on ramfs reachable as root alone.
  • ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
  • extraConfigFiles then point to the places wherever the one-step-above generates them.

Am I doing this right? Any other hints/ideas?

I did exactly this , and it seems to work (except for a tidbit with signing_key_path, which I suggest a fix in https://github.com/NixOS/nixpkgs/pull/222336 )
11:23:28
@motiejus:jakstys.ltmotiejus
In reply to @motiejus:jakstys.lt

hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles\. Here is how I envision the process exactly:

  • The secrets are written on ramfs reachable as root alone.
  • ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
  • extraConfigFiles then point to the places wherever the one-step-above generates them.

Am I doing this right? Any other hints/ideas?

* I did exactly this , and it seems to work (except for a tidbit with signing_key_path, which I suggest a fix in https://github.com/NixOS/nixpkgs/pull/222336
11:23:30
24 Mar 2023
@hexa:lossy.networkhexahow is everyone else dealing with element and the read marker issues02:40:58
@hexa:lossy.networkhexathreading is now enabled by default, no opt-out, but "mark as read" doesn't clear the read marker for some rooms02:41:19
@hexa:lossy.networkhexawhen starting element, lots of already read stuff reappears as read02:41:39
@hexa:lossy.networkhexait takes the joy out of matrix for me big time02:41:46
@sandro:supersandro.deSandro ๐ŸงI sometimes send "spam" messages 13:51:58
@n0emis:noemis.meemberYep, same. Somehow I donโ€™t have this issue on iOS or with syncv3 enabled, although that brings a whole new set if bugs15:00:39
@n0emis:noemis.meember* Yep, same. Somehow I donโ€™t have this issue on iOS or with syncv3 enabled, although that brings a whole new set of bugs15:00:39
25 Mar 2023
@julian:foad.me.ukJulianF changed their profile picture.21:09:20
28 Mar 2023
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/22233612:11:23

Show newer messages


Back to Room ListRoom Version: 4