services: matrix mautrix-telegram restructure secrets
This commit is contained in:
parent
2cba5cc41e
commit
220ce9c5c3
@ -126,7 +126,7 @@ in {
|
|||||||
services = {
|
services = {
|
||||||
mautrix-telegram = {
|
mautrix-telegram = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path
|
environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path;
|
||||||
settings = {
|
settings = {
|
||||||
homeserver = {
|
homeserver = {
|
||||||
address = "http://localhost:8008";
|
address = "http://localhost:8008";
|
||||||
@ -134,7 +134,6 @@ in {
|
|||||||
};
|
};
|
||||||
appservice = {
|
appservice = {
|
||||||
hostname = "127.0.0.1";
|
hostname = "127.0.0.1";
|
||||||
database = "postgres://${mautrixteledb}";
|
|
||||||
provisioning.enabled = false;
|
provisioning.enabled = false;
|
||||||
id = "telegram";
|
id = "telegram";
|
||||||
public = {
|
public = {
|
||||||
@ -146,7 +145,7 @@ in {
|
|||||||
startup_sync = true;
|
startup_sync = true;
|
||||||
public_portals = true;
|
public_portals = true;
|
||||||
double_puppet_server_map = {
|
double_puppet_server_map = {
|
||||||
"kabtop.de: https://kabtop.de";
|
"kabtop.de" = "https://kabtop.de";
|
||||||
};
|
};
|
||||||
encryption = {
|
encryption = {
|
||||||
allow = true;
|
allow = true;
|
||||||
@ -164,11 +163,6 @@ in {
|
|||||||
"@kabbone:kabtop.de" = "admin";
|
"@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