enforce new flake schema. formatting.
Some checks failed
Build tests / build-hosts (pull_request) Failing after 3s
Flake check / flake-check (pull_request) Failing after 13s

This commit is contained in:
sid 2026-05-31 18:50:41 +02:00
parent 4b0a90e00d
commit ecf5132cbb
121 changed files with 1606 additions and 1554 deletions

View file

@ -27,45 +27,48 @@
];
config = {
services.matrix-synapse = {
enable = true;
coturn.enable = true;
settings = {
registration_shared_secret = "secret";
turn_shared_secret = "turn-secret";
services = {
matrix-synapse = {
enable = true;
coturn.enable = true;
settings = {
registration_shared_secret = "secret";
turn_shared_secret = "turn-secret";
};
};
coturn = {
enable = true;
no-tls = true;
static-auth-secret = "turn-secret";
};
maubot = {
enable = true;
extraConfigFile = builtins.toString (
pkgs.writeText "maubot-extra" ''
homeservers:
${cfg.settings.server_name}:
url: http://127.0.0.1:${builtins.toString cfg.port}
secret: ${cfg.settings.registration_shared_secret}
admins:
alice: password
''
);
};
livekit.keyFile = keyFile;
lk-jwt-service.keyFile = keyFile;
nginx.enable = true;
nginx.virtualHosts."example.com" = {
forceSSL = lib.mkForce false;
enableACME = lib.mkForce false;
};
};
services.coturn = {
enable = true;
no-tls = true;
static-auth-secret = "turn-secret";
};
services.maubot = {
enable = true;
extraConfigFile = builtins.toString (
pkgs.writeText "maubot-extra" ''
homeservers:
${cfg.settings.server_name}:
url: http://127.0.0.1:${builtins.toString cfg.port}
secret: ${cfg.settings.registration_shared_secret}
admins:
alice: password
''
);
};
services.livekit.keyFile = keyFile;
services.lk-jwt-service.keyFile = keyFile;
services.nginx.enable = true;
networking.domain = "example.com";
networking.firewall.enable = false; # simplify networking for test
# Override SSL/ACME requirements for test
services.nginx.virtualHosts."example.com".forceSSL = lib.mkForce false;
services.nginx.virtualHosts."example.com".enableACME = lib.mkForce false;
};
};