mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
41 lines
1,018 B
Nix
41 lines
1,018 B
Nix
{config, ...}: {
|
|
sops.secrets.mautrix-slack-environment = {
|
|
sopsFile = ./slack.yaml;
|
|
};
|
|
services.mautrix-slack = {
|
|
inherit (config.services.matrix-synapse) enable;
|
|
environmentFile = config.sops.secrets.mautrix-slack-environment.path;
|
|
settings = {
|
|
homeserver = {
|
|
domain = "kittywit.ch";
|
|
address = "https://yukari.gensokyo.zone";
|
|
software = "standard";
|
|
};
|
|
appservice = {
|
|
ephemeral_events = false;
|
|
};
|
|
slack = {
|
|
};
|
|
bridge = {
|
|
history_sync = {
|
|
request_full_sync = true;
|
|
};
|
|
private_chat_portal_meta = true;
|
|
mute_bridging = true;
|
|
encryption = {
|
|
allow = true;
|
|
default = true;
|
|
require = true;
|
|
};
|
|
provisioning = {
|
|
shared_secret = "disable";
|
|
};
|
|
permissions = {
|
|
"kittywit.ch" = "full";
|
|
"@kat:kittywit.ch" = "admin";
|
|
"@slack:kittywit.ch" = "admin";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|