!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

150 Members
Coordination and discussion about the matrix subsystem in NixOS - https://wiki.nixos.org/wiki/Matrix74 Servers

Load older messages


SenderMessageTime
3 Aug 2021
@sumner:sumnerevans.com@sumner:sumnerevans.com What does sudo nix-channel --list show? 19:32:26
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.eu nixos https://nixos.org/channels/nixos-unstable 19:48:05
@sumner:sumnerevans.com@sumner:sumnerevans.comThat sounds like your problem, then. It takes longer for it to hit nixos-unstable.19:48:49
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.euWell, it's a headless server, I never cared much about the manual imperative Nix setup and such… Fixed it now, anyway.19:51:38
@marc:matrix.ablay.demarc joined the room.22:05:45
@milan:petabyte.devMilanAnother try on this: https://github.com/NixOS/nixpkgs/pull/13260122:06:29
4 Aug 2021
@sumner:sumnerevans.com@sumner:sumnerevans.comI'd love to get this merged. I know it's a big one, but it's a major improvement to the status quo with config in Synapse. https://github.com/NixOS/nixpkgs/pull/12026006:00:38
@sumner:sumnerevans.com@sumner:sumnerevans.com

So, I am trying out the element-desktop build with native modules. I ran nix-build -A element-desktop on the latest master and then /nix/store/c974nhmm92mlii1ppgby9asm3arsvl68-element-desktop-1.7.34/bin/element-desktop and tried to enable chat search. In the dev console, I get:

EventIndex: Error initializing the event index 
{message: "Error opening the database: SqlCipherError(\"Sqlcipher support is missing\")"}

I checked that /nix/store/c974nhmm92mlii1ppgby9asm3arsvl68-element-desktop-1.7.34/share/element/electron/node_modules/matrix-seshat does exist and seems to have all the necessary dependencies.

Anyone who's successfully tried this, do you have any ideas of what may be wrong?

14:34:05
@andi:kack.itandi-How did you build the native dependencies? Last time I looked they had this custom build system that downloaded random stuff from the internet and then ran some rust compilation (and something else).14:39:20
@sumner:sumnerevans.com@sumner:sumnerevans.com andi-: I just used this PR by Milan (they/them) 🏳️‍⚧️ https://github.com/NixOS/nixpkgs/pull/132601 which was supposed to fix that 14:42:08
@andi:kack.itandi-That doesn't look too bad but I wasn't aware of that PR. IIRC it just tries to import these dependencies during startup and then it should work.. No idea about that error then :(14:48:09
6 Aug 2021
@cw:kernelpanic.cafecw (just got delta) changed their display name from continuouswave to cw (? days since last shower).18:10:30
10 Aug 2021
@stites:matrix.orgstiteshey folks -- does anyone here have derivations for the signal/discord/imessages bridges with their matrix server? 16:18:23
@stites:matrix.orgstitesI'm debating setting up docker/kubernetes to handle these since there seems to be a lot of support for this workflow, but I also am not sure my homeserver can handle all of the virtualization16:19:40
@stites:matrix.orgstitesSo I've been wondering how other people here handle this.16:20:37
@sumner:sumnerevans.com@sumner:sumnerevans.comI have one for the LinkedIn bridge which is a mautrix-python bridge so something similar should work for signal. https://git.sr.ht/~sumner/nixos-configuration/tree/master/item/modules/services/matrix/linkedin-matrix.nix16:35:08
@stites:matrix.orgstitesgreat! thank you!20:44:54
@sumner:sumnerevans.com@sumner:sumnerevans.comI'd like to eventually add modules for more mautrix bridges, but I just don't really have the time.20:45:38
@sumner:sumnerevans.com@sumner:sumnerevans.com * I'd like to eventually create and upstream modules for more mautrix bridges, but I just don't really have the time.20:45:47
11 Aug 2021
@cw:kernelpanic.cafecw (just got delta) changed their display name from cw (? days since last shower) to cw (not sticky anymore).17:56:33
15 Aug 2021
@sumner:sumnerevans.com@sumner:sumnerevans.com Can anyone help with https://github.com/NixOS/nixpkgs/pull/132559? I am too incompetent to know how to get it working lol. ma27 mentioned that plugins don't work: https://github.com/NixOS/nixpkgs/pull/132559#pullrequestreview-728383480 00:01:02
@cw:kernelpanic.cafecw (just got delta) changed their display name from cw (not sticky anymore) to cw (got the delta).00:57:51
@cw:kernelpanic.cafecw (just got delta) changed their display name from cw (got the delta) to cw (just got delta).00:58:32
@ma27:nicht-so.sexyma27self-assigned, will take a look today or in one of the next days.06:45:19
16 Aug 2021
@maximilian:transformierende-gesellschaft.org@maximilian:transformierende-gesellschaft.org

I think we should ship / use an updated version of twisted that does not require TLS1.0 / TLS1.1 (!) on mail / smtp servers. Currently it's 20.3.0

https://github.com/twisted/twisted/pull/1225#issuecomment-788560006
https://github.com/matrix-org/synapse/issues/6211

21:55:11
19 Aug 2021
@cmdr_moto:matrix.orgMoto Ashmore set a profile picture.00:16:38
21 Aug 2021
@maximilian:transformierende-gesellschaft.org@maximilian:transformierende-gesellschaft.org
In reply to @maximilian:transformierende-gesellschaft.org

I think we should ship / use an updated version of twisted that does not require TLS1.0 / TLS1.1 (!) on mail / smtp servers. Currently it's 20.3.0

https://github.com/twisted/twisted/pull/1225#issuecomment-788560006
https://github.com/matrix-org/synapse/issues/6211

I prepared a PR for this including a regression test with a postfix server ➡️ https://github.com/NixOS/nixpkgs/pull/135094
17:39:01
22 Aug 2021
@maximilian:transformierende-gesellschaft.org@maximilian:transformierende-gesellschaft.orgBackport for 21.05: https://github.com/NixOS/nixpkgs/pull/13529614:41:39
24 Aug 2021
@pacien:pacien.net@pacien:pacien.net

is anyone seeing issues with the mautrix-telegram package on nixos-21.05 following the latest update of the package?

The service does not start anymore on my machine:

Aug 24 20:30:07 hp2 systemd[1]: Started Mautrix-Telegram, a Matrix-Telegram hybrid puppeting/relaybot bridge..
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]: Traceback (most recent call last):
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/bin/.mautrix-telegram-wrapped", line 6, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from mautrix_telegram.__main__ import main
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/lib/python3.8/site-packages/mautrix_telegram/__main__.py", line 25, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from .web.provisioning import ProvisioningAPI
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/lib/python3.8/site-packages/mautrix_telegram/web/__init__.py", line 1, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from .provisioning import ProvisioningAPI
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/lib/python3.8/site-packages/mautrix_telegram/web/provisioning/__init__.py", line 31, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from ...user import User
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/lib/python3.8/site-packages/mautrix_telegram/user.py", line 42, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from .abstract_user import AbstractUser
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:   File "/nix/store/dplwj78rxqikzv707mrv6prppzrl0bsz-python3.8-mautrix-telegram-0.10.1/lib/python3.8/site-packages/mautrix_telegram/abstract_user.py", line 27, in <module>
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]:     from telethon.tl.types import (
Aug 24 20:30:12 hp2 mautrix-telegram[3935072]: ImportError: cannot import name 'UpdatePinnedMessages' from 'telethon.tl.types' (/nix/store/7wrzvhq2i9bk1yrqd6ypykph9rkya35x-python3.8-telethon-1.17.5/lib/python3.8/site-packages/telethon/tl/types/__init__.py)
Aug 24 20:30:12 hp2 systemd[1]: mautrix-telegram.service: Main process exited, code=exited, status=1/FAILURE
Aug 24 20:30:12 hp2 systemd[1]: mautrix-telegram.service: Failed with result 'exit-code'.
18:32:38
@pacien:pacien.net@pacien:pacien.net CC ma27 18:33:43

Show newer messages


Back to Room ListRoom Version: 4