feat(deck): conduit + nginx-matrix (conduit remplace synapse)

This commit is contained in:
Hermes Agent
2026-10-06 21:41:54 -04:00
parent 2edce1cd20
commit 10ceeb3310
+36
View File
@@ -17,6 +17,8 @@
../../modules/nixos/xdg
../../modules/nixos/jovian
../../services/eternal-terminal
../../services/matrix-conduit
../../services/nginx-matrix
./switch-emu.nix
];
@@ -110,6 +112,40 @@
AllowHibernation = false; # coupe aussi hybrid-sleep et suspend-then-hibernate
};
# ========================================================================
# MATRIX CONDUIT (replaces Synapse on tower)
# ========================================================================
services.matrix-conduit = {
enable = true;
settings = {
global = {
server_name = "matrix.marcpartensky.com";
database_backend = "rocksdb";
port = 6167;
allow_registration = false;
allow_federation = true;
trusted_servers = [ "matrix.org" ];
max_request_size = 20000000;
};
federation = {
port = 8448;
};
};
};
# ========================================================================
# NGINX REVERSE PROXY FOR MATRIX
# ========================================================================
services.nginx-matrix = {
enable = true;
domain = "matrix.marcpartensky.com";
upstream_host = "127.0.0.1";
upstream_port = 6167;
federation_port = 8448;
listen_port = 8008;
acme = false; # TLS terminated by Pangolin on VPS
};
programs.steam.config = {
enable = true;