14 Feb 2022 |
Dandellion | yep | 19:06:48 |
hexa | I responded to everything I believe. | 19:41:49 |
hexa | Specifically 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 | 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:54 |
hexa | * 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 | If something isn't a regression I'm hesitant to make behavioral changes, like adding further arbitrary trust anchors. | 19:44:43 |
hexa | * 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 | That 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 | * 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 | (except of course if you trust me) | 19:46:45 |
hexa | How can I enable labs on element-desktop? | 22:09:44 |
Sumner 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 | ok, looking into that, thanks | 23:59:05 |
17 Feb 2022 |
@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 joined the room. | 20:59:27 |
f0x | 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 | The current state of getting workers is using some custom config based on https://github.com/dali99/nixos-matrix-modules | 21:02:23 |
f0x | mine is a bit more opinionated I think, also setting up nginx to get specific routes to the right workers | 21:04:20 |
Dandellion | 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 setting settings | 21:04:42 |
Dandellion | * 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 config | 21:04:55 |
f0x | yeah unfortunate I only learned of that PR just now | 21:05:12 |
f0x | I was also wondering if there's a nice way to expose default blocks of routes, so you don't have to configure them all yourself | 21:05:38 |
f0x | but just include workers.routes.client or whatever | 21:05:51 |
Dandellion | 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 | 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 | that would be really nice yeah | 21:08:51 |
hexa | Or a list of ports to bind to | 21:10:13 |
hexa | workers and secret handling are the next big steps in this module | 21:15:48 |
hexa | I imagine the map mostly as a concatStringsSep with rules being optional in relation to the worker count for the relevant path | 21:17:28 |
hexa | haven't checked whether our nginx module supports maps natively | 21:17:44 |