18 Dec 2023 |
philipp | 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 |
Alex | ok, thanks! | 16:48:27 |
Alex | I might contribute a module to nixpkgs | 16:48:33 |
@delroth:delroth.net | I have a not-very-good module here: https://github.com/delroth/infra.delroth.net/blob/master/roles/matrix-signal-bridge.nix | 17:32:52 |
@delroth:delroth.net | feel free to reuse parts of it | 17:33:01 |
@delroth:delroth.net | bugs 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 problem | 17:34:58 |
Victor | 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 |
Alex | for some reason, my Matrix server works locally, but not on my site | 17:41:15 |
Alex | 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 |
Alex | 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 |
Alex | * for some reason, my Matrix server works on localhost, but not on my site | 17:45:54 |
Alex | * 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 |
Alex | * 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 |
Alex | does anyone else use synapse with caddy? | 17:55:29 |
20 Dec 2023 |
| June changed their display name from June to June 📞 5863. | 23:32:11 |
21 Dec 2023 |
| June changed their display name from June 📞 5863 to June. | 14:14:18 |
23 Dec 2023 |
| June changed their display name from June to June 📞 5863. | 01:56:12 |
26 Dec 2023 |
| tokudan changed their display name from sugi to sugi 📞8658. | 00:55:54 |
28 Dec 2023 |
| @piegames:matrix.org changed their display name from piegames to piegames [☎ 9712]. | 01:33:49 |
30 Dec 2023 |
| mg invited mor. | 19:47:13 |
| mor joined the room. | 19:47:14 |
| tokudan changed their display name from sugi 📞8658 to tokudan. | 22:59:01 |
31 Dec 2023 |
| @piegames:matrix.org changed their display name from piegames [☎ 9712] to piegames. | 12:40:56 |
1 Jan 2024 |
| June changed their display name from June 📞 5863 to June. | 18:28:15 |
2 Jan 2024 |
| @1h0:matrix.org joined the room. | 11:34:49 |
8 Jan 2024 |
hexa | synapse workers and sliding sync are still not really reliably during system bringup | 22:27:05 |
hexa | cc ma27 Dandellion Sophie | 22:27:13 |
hexa | hm ok, sliding sync is due to a delay in providing the environment secrets | 22:27:46 |
hexa |
matrix-sliding-sync.service: Failed to load environment files: No such file or directory
| 22:27:53 |
hexa | * matrix-sliding-sync.service: Failed to load environment files: No such file or directory
| 22:27:57 |