sid.ovh/hosts/sid/services/matrix-synapse.nix
sid 7d364cdfac
Some checks failed
Deploy configs / deploy-configs (push) Failing after 11s
initial commit
2026-02-23 20:53:29 +01:00

58 lines
937 B
Nix

{
inputs,
config,
pkgs,
...
}:
{
imports = [
inputs.synix.nixosModules.baibot
inputs.synix.nixosModules.coturn
inputs.synix.nixosModules.matrix-synapse
inputs.synix.nixosModules.maubot
];
nixpkgs.config.permittedInsecurePackages = [
"olm-3.2.16"
];
services.baibot = {
enable = true;
package = pkgs.synix.baibot;
};
services.coturn = {
enable = true;
sops = true;
openFirewall = true;
};
services.matrix-synapse = {
enable = true;
sops = true;
coturn.enable = true;
bridges = {
whatsapp = {
enable = true;
admin = "@sid:sid.ovh";
};
signal = {
enable = true;
admin = "@sid:sid.ovh";
};
};
};
services.maubot = {
enable = true;
sops = true;
admins = [
"sid"
];
plugins = with config.services.maubot.package.plugins; [
github
reminder
];
};
}