!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 Nov 2023
@grahamc:nixos.org@grahamc:nixos.org left the room.16:42:48
19 Nov 2023
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (federation borken, may not see reply).03:36:11
@zxgu:matrix.orgZXGU joined the room.11:02:32
@solson:matrix.org@solson:matrix.org left the room.14:36:19
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (federation borken, may not see reply) to pbsds.20:39:10
20 Nov 2023
@chayleaf:matrix.pavluk.orgchayleaf joined the room.18:14:48
22 Nov 2023
@withoutwithin:matrix.org@withoutwithin:matrix.org changed their profile picture.03:43:25
24 Nov 2023
@janik0:matrix.org@janik0:matrix.org joined the room.16:42:56
28 Nov 2023
@chayleaf:matrix.pavluk.orgchayleaf reviews appreciated https://github.com/NixOS/nixpkgs/pull/265368 01:14:02
@chayleaf:matrix.pavluk.orgchayleafI've been using this since May in my flake and decided now's a good time to submit this when the 23.11 pressure isn't here anymore01:17:12
@chayleaf:matrix.pavluk.orgchayleaf* I've been using this since May in my flake and decided now's a good time to submit this when the code is sufficiently tested/rounded out and the 23.11 pressure isn't here anymore01:17:45
1 Dec 2023
@moritz.hedtke:matrix.orgMoritz Hedtke set their display name to Moritz Hedtke.11:08:15
2 Dec 2023
@ralith:ralith.comRalithappservice-irc is broken in 23.11; see https://github.com/NixOS/nixpkgs/pull/27174020:09:16
18 Dec 2023
@graphite:tchncs.deAlex joined the room.16:39:05
@graphite:tchncs.deAlex Hi! How can I use the mautrix-signal bridge? It only has a package, but no module 16:39:28
@philipp:xndr.dephilipp You'd probably have to write your own service with systemd.services. You can proabably take inspiration from services.mautrix-whatsapp or services.mautrix-facebook. 16:43:44
@graphite:tchncs.deAlexok, thanks!16:48:27
@graphite:tchncs.deAlexI might contribute a module to nixpkgs16:48:33
@delroth:delroth.net@delroth:delroth.netI have a not-very-good module here: https://github.com/delroth/infra.delroth.net/blob/master/roles/matrix-signal-bridge.nix17:32:52
@delroth:delroth.net@delroth:delroth.netfeel free to reuse parts of it17:33:01
@delroth:delroth.net@delroth:delroth.netbugs I know about: bridging images doesn't work because I think the systemd FS sandbox on signald is setup too tight - but I haven't looked too deeply at the problem17:34:58
@vskilet:sene.ovhVictor
In reply to @graphite:tchncs.de
Hi! How can I use the mautrix-signal bridge? It only has a package, but no module
You should probably have a look to this : https://gitlab.com/coffeetables/nix-matrix-appservices
17:36:18
@graphite:tchncs.deAlexfor some reason, my Matrix server works locally, but not on my site17:41:15
@graphite:tchncs.deAlex

This is my caddy config:

inputs: { pkgs, ... }: {
    services.postgresql.enable = true;
    services.postgresql.initialScript = pkgs.writeText "synapse-init.sql" ''
      CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
      CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
        TEMPLATE template0
        LC_COLLATE = "C"
        LC_CTYPE = "C";
    '';
  services.matrix-synapse = {
    enable = true;
    settings = {
      server_name = "gra.phite.ro";
      public_baseurl = "https://matrix.gra.phite.ro";
      listeners = [
        {
          port = 8008;
          bind_addresses = [ "::1" ];

          # Caddy handles HTTPS and TLS
          type = "http";
          tls = false;

          x_forwarded = true;
          resources = [
            {
              names = [ "client" "federation" ];
              compress = true;
            }
          ];
        }
      ];
    };
  };
}

17:42:21
@graphite:tchncs.deAlex

and my caddyfile:

https://gra.phite.ro {
	root * /home/ultra/code/html/blog
	file_server
}

http://gra.phite.ro {
	root * /home/ultra/code/html/blog
	file_server
}

https://5.12.179.165 {
	root * /home/ultra/code/html/blog
	file_server
}

https://192.168.100.35 {
	root * /home/ultra/code/html/blog
	file_server
}

http://0.0.0.0:80 {
	root * /home/ultra/code/html/blog
	file_server
}

https://git.gra.phite.ro {
	reverse_proxy :3000
}

https://cloud.gra.phite.ro {
	reverse_proxy :3001
}

https://pwd.gra.phite.ro {
	reverse_proxy :3002
}

https://matrix.gra.phite.ro {
	reverse_proxy :8008
}

# https://phite.ro {
# 	redir https://gra.phite.ro
# }

# http://phite.ro {
# 	redir http://gra.phite.ro
# }
17:43:02
@graphite:tchncs.deAlex * for some reason, my Matrix server works on localhost, but not on my site17:45:54
@graphite:tchncs.deAlex *

This is my caddy config:

inputs: { pkgs, ... }: {
    services.postgresql.enable = true;
    services.postgresql.initialScript = pkgs.writeText "synapse-init.sql" ''
      CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
      CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
        TEMPLATE template0
        LC_COLLATE = "C"
        LC_CTYPE = "C";
    '';
  services.matrix-synapse = {
    enable = true;
    settings = {
      server_name = "gra.phite.ro";
      public_baseurl = "https://matrix.gra.phite.ro";
      listeners = [
        {
          port = 3003;
          bind_addresses = [ "::1" ];

          # Caddy handles HTTPS and TLS
          type = "http";
          tls = false;

          x_forwarded = true;
          resources = [
            {
              names = [ "client" "federation" ];
              compress = true;
            }
          ];
        }
      ];
    };
  };
}

17:51:50
@graphite:tchncs.deAlex *

and my caddyfile:

https://gra.phite.ro {
	root * /home/ultra/code/html/blog
	file_server
}

http://gra.phite.ro {
	root * /home/ultra/code/html/blog
	file_server
}

https://5.12.179.165 {
	root * /home/ultra/code/html/blog
	file_server
}

https://192.168.100.35 {
	root * /home/ultra/code/html/blog
	file_server
}

http://0.0.0.0:80 {
	root * /home/ultra/code/html/blog
	file_server
}

https://git.gra.phite.ro {
	reverse_proxy :3000
}

https://cloud.gra.phite.ro {
	reverse_proxy :3001
}

https://pwd.gra.phite.ro {
	reverse_proxy :3002
}

https://matrix.gra.phite.ro {
	reverse_proxy :3003
}

# https://phite.ro {
# 	redir https://gra.phite.ro
# }

# http://phite.ro {
# 	redir http://gra.phite.ro
# }
17:52:05
@graphite:tchncs.deAlexdoes anyone else use synapse with caddy?17:55:29
20 Dec 2023
@julian:nekover.seJune changed their display name from June to June 📞 5863.23:32:11

Show newer messages


Back to Room ListRoom Version: 4