dots/modules/hosts/nixos/hetznix01/post-install/matrix-synapse.nix
Gene Liverman c1a53997ce
Add linting, formatting, and CI
- Add deadnix, nixfmt, and statix to flake inputs
- Add formatter output to flake for nix fmt support
- Add deadnix, nixfmt, statix to Home Manager packages
- Format all nix files with nixfmt
- Add GitHub Actions workflow for CI validation
- Support x86_64-darwin in formatter
2026-03-14 01:04:02 -04:00

41 lines
997 B
Nix

{ config, ... }:
{
services.matrix-synapse = {
enable = true;
configureRedisLocally = true;
enableRegistrationScript = true;
extraConfigFiles = [
config.sops.secrets.matrix_secrets_yaml.path
];
settings = {
server_name = "technicalissues.us";
public_baseurl = "https://matrix.technicalissues.us";
signing_key_path = config.sops.secrets.matrix_homeserver_signing_key.path;
listeners = [
{
port = 8008;
tls = false;
type = "http";
x_forwarded = true;
bind_addresses = [
"::1"
"127.0.0.1"
];
resources = [
{
names = [
"client"
"federation"
];
compress = false;
}
];
}
];
url_preview_enabled = true;
enable_registration = false;
trusted_key_servers = [ { server_name = "matrix.org"; } ];
};
};
}