My Nix Configuration
1{ 2 lib, 3 ... 4}: 5let 6 d = lib.py.data.services.matrix-server; 7in 8{ 9 services.matrix-conduit = { 10 enable = true; 11 12 settings.global = { 13 inherit (d) port; 14 server_name = "pyrox.dev"; 15 max_request_size = 1024 * 1024 * 50; 16 allow_registration = false; 17 allow_federation = true; 18 allow_check_for_updates = false; 19 trusted_servers = [ 20 "matrix.org" 21 "vector.im" 22 "catgirl.cloud" 23 ]; 24 address = "0.0.0.0"; 25 well_known_client = "https://${d.extUrl}"; 26 well_known_server = "${d.extUrl}:443"; 27 }; 28 }; 29}