Initial commit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ellie 2026-02-15 14:57:00 -08:00
commit b8402a9049
82 changed files with 1345 additions and 0 deletions

33
services/matrix.nix Normal file
View file

@ -0,0 +1,33 @@
{ config, continuwuity, ... }:
{
sops.secrets."coturn/auth_secret_home" = {
sopsFile = ./secrets/coturn_home.yaml;
mode = "0400";
owner = "continuwuity";
group = "continuwuity";
};
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8008 ];
services.matrix-continuwuity = {
enable = true;
package = continuwuity.packages.x86_64-linux.default;
settings.global = {
server_name = "ellie.town";
new_user_displayname_suffix = "";
allow_registration = true;
address = [ "10.10.0.2" ];
port = [ 8008 ];
turn_uris = [ "turns:turn.ellie.town" ];
turn_secret_file = config.sops.secrets."coturn/auth_secret_home".path;
well_known = {
client = "https://matrix.ellie.town";
server = "matrix.ellie.town:443";
};
};
};
}