!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

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

Load older messages


SenderMessageTime
14 Feb 2022
@dandellion:dodsorf.asDandellionyep19:06:48
@hexa:lossy.networkhexaI responded to everything I believe.19:41:49
@hexa:lossy.networkhexaSpecifically secret handling can be built on top of this and I wouldn't add it to the scope of this PR. It is big enough as it is.19:42:18
@hexa:lossy.networkhexaSure, at the same time we're asking people to move their secrets from toplevel into settings, this is part of the bulk change nature of this PR19:42:54
@hexa:lossy.networkhexa * Sure, at the same time we're asking people to move their secrets from toplevel into settings, this is part of the bulk change nature of this PR.19:42:55
@hexa:lossy.networkhexaIf something isn't a regression I'm hesitant to make behavioral changes, like adding further arbitrary trust anchors.19:44:43
@hexa:lossy.networkhexa * If something isn't a regression, I'm not inclined to fix it. I'm hesitant to make behavioral changes, like adding further arbitrary trust anchors.19:45:06
@hexa:lossy.networkhexaThat warnings has its place, and people should be mindful about it. Shutting it up doesn't really serve our users imo.19:46:11
@hexa:lossy.networkhexa * That warnings has its place, and people should be mindful about it. Adding another server just to shut it up doesn't really serve our users imo.19:46:22
@hexa:lossy.networkhexa (except of course if you trust me) 19:46:45
@hexa:lossy.networkhexaHow can I enable labs on element-desktop?22:09:44
@sumner:nevarro.spaceSumner Evans
In reply to @hexa:lossy.network
How can I enable labs on element-desktop?
you have to create a file in ~/.config/Element/config.json.
23:57:29
@hexa:lossy.networkhexaok, looking into that, thanks23:59:05
17 Feb 2022
@grahamc:nixos.org@grahamc:nixos.org Hey folks, hexa just noted that this room is in the space but doesn't have mjolnir set up. Could I get Admin in here to get Mjolnir setup? 01:52:50
@f0x:pixie.townf0x joined the room.20:59:27
@f0x:pixie.townf0x I've been working on adding Synapse workers support to the existing matrix-synapse module. It's messy and probably not ideal since I just started with Nix, but would there be interest in getting this upstreamed? https://git.pixie.town/f0x/nixos/src/branch/synapse-workers/common/modules/synapse 21:00:57
@dandellion:dodsorf.asDandellionThe current state of getting workers is using some custom config based on https://github.com/dali99/nixos-matrix-modules21:02:23
@f0x:pixie.townf0xmine is a bit more opinionated I think, also setting up nginx to get specific routes to the right workers21:04:20
@dandellion:dodsorf.asDandellionyou have some cool ideas with how you handle routes and things in your module, but I don't think the synapse module will be handling nginx options directly for a while. And we'll definetly need to use the https://github.com/NixOS/nixpkgs/pull/158605 rfc42 way of setting settings21:04:42
@dandellion:dodsorf.asDandellion * you have some cool ideas with how you handle routes and things in your module, but I don't think the synapse module will be handling nginx options directly for a while. And we'll definetly need to use the https://github.com/NixOS/nixpkgs/pull/158605 rfc42 way of generating the config21:04:55
@f0x:pixie.townf0xyeah unfortunate I only learned of that PR just now21:05:12
@f0x:pixie.townf0xI was also wondering if there's a nice way to expose default blocks of routes, so you don't have to configure them all yourself21:05:38
@f0x:pixie.townf0xbut just include workers.routes.client or whatever21:05:51
@dandellion:dodsorf.asDandellion
In reply to @hexa:lossy.network
Dandellion, Sumner Evans TIL: https://gist.github.com/artizirk/e1793e28da16a48b41672d126b44e7a6
An opinionated module can use nginx maps like this
21:06:31
@dandellion:dodsorf.asDandellion I think the plan would generally be to just do matrix.workers.federation_reciever = 2 and such to have the module system enumerate ports and generate nginx routes and whatever else is needed 21:07:47
@f0x:pixie.townf0xthat would be really nice yeah21:08:51
@hexa:lossy.networkhexaOr a list of ports to bind to 21:10:13
@hexa:lossy.networkhexaworkers and secret handling are the next big steps in this module21:15:48
@hexa:lossy.networkhexaI imagine the map mostly as a concatStringsSep with rules being optional in relation to the worker count for the relevant path21:17:28
@hexa:lossy.networkhexahaven't checked whether our nginx module supports maps natively21:17:44

Show newer messages


Back to Room ListRoom Version: 4