services: matrix mautrix-telegram restructure secrets
This commit is contained in:
parent
2cba5cc41e
commit
220ce9c5c3
@ -126,7 +126,7 @@ in {
|
||||
services = {
|
||||
mautrix-telegram = {
|
||||
enable = true;
|
||||
environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path
|
||||
environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path;
|
||||
settings = {
|
||||
homeserver = {
|
||||
address = "http://localhost:8008";
|
||||
@ -134,7 +134,6 @@ in {
|
||||
};
|
||||
appservice = {
|
||||
hostname = "127.0.0.1";
|
||||
database = "postgres://${mautrixteledb}";
|
||||
provisioning.enabled = false;
|
||||
id = "telegram";
|
||||
public = {
|
||||
@ -146,7 +145,7 @@ in {
|
||||
startup_sync = true;
|
||||
public_portals = true;
|
||||
double_puppet_server_map = {
|
||||
"kabtop.de: https://kabtop.de";
|
||||
"kabtop.de" = "https://kabtop.de";
|
||||
};
|
||||
encryption = {
|
||||
allow = true;
|
||||
@ -164,11 +163,6 @@ in {
|
||||
"@kabbone:kabtop.de" = "admin";
|
||||
};
|
||||
};
|
||||
telegram = {
|
||||
api_id = ${telegram-api_id};
|
||||
api_hash = ${telegram-api_hash};
|
||||
bot_token = ${telegram-bot_token};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user