mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
27 lines
653 B
Nix
27 lines
653 B
Nix
{config, ...}: {
|
|
sops.secrets.mautrix-telegram-environment = {
|
|
sopsFile = ./telegram.yaml;
|
|
};
|
|
services.mautrix-telegram = {
|
|
#inherit (config.services.matrix-synapse) enable;
|
|
environmentFile = config.sops.secrets.mautrix-telegram-environment.path;
|
|
settings = {
|
|
homeserver = {
|
|
domain = "kittywit.ch";
|
|
address = "https://yukari.gensokyo.zone";
|
|
software = "standard";
|
|
};
|
|
appservice = {
|
|
port = 9047;
|
|
};
|
|
telegram = {
|
|
};
|
|
bridge = {
|
|
permissions = {
|
|
"kittywit.ch" = "full";
|
|
"@kat:kittywit.ch" = "admin";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|