Set up the Telegram bridge
This commit is contained in:
@@ -133,6 +133,11 @@ with pkgs;
|
|||||||
owner = "63026";
|
owner = "63026";
|
||||||
group = "63026";
|
group = "63026";
|
||||||
};
|
};
|
||||||
|
secrets.telegram = {
|
||||||
|
file = secrets/telegram.age;
|
||||||
|
owner = "matrix-as-telegram";
|
||||||
|
group = "matrix-as-telegram";
|
||||||
|
};
|
||||||
identityPaths = [ "/home/coolneng/.ssh/id_ed25519" ];
|
identityPaths = [ "/home/coolneng/.ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,11 @@ in {
|
|||||||
port = 8118;
|
port = 8118;
|
||||||
format = "mautrix-python";
|
format = "mautrix-python";
|
||||||
package = mautrix-telegram;
|
package = mautrix-telegram;
|
||||||
|
serviceConfig.EnvironmentFile = config.age.secrets.telegram.path;
|
||||||
|
settings.telegram = {
|
||||||
|
api_id = "$API_ID";
|
||||||
|
api_hash = "$API_HASH";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
facebook = {
|
facebook = {
|
||||||
port = 8228;
|
port = 8228;
|
||||||
|
|||||||
@@ -11,4 +11,5 @@ in {
|
|||||||
"git.age".publicKeys = [ zion ];
|
"git.age".publicKeys = [ zion ];
|
||||||
"dendrite.age".publicKeys = [ zion ];
|
"dendrite.age".publicKeys = [ zion ];
|
||||||
"dendrite-postgres.age".publicKeys = [ zion ];
|
"dendrite-postgres.age".publicKeys = [ zion ];
|
||||||
|
"telegram.age".publicKeys = [ zion ];
|
||||||
}
|
}
|
||||||
|
|||||||
7
secrets/telegram.age
Normal file
7
secrets/telegram.age
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 iUaRGg rS8ZNqVEL6bTwP8tQZBGhBGrnO7+kYaccfF4L4BOvD8
|
||||||
|
YdRIGI3ZcCj2ChmG9EEWoeaJjFGpuAdynVOX9AmlNPQ
|
||||||
|
-> _"qP0Q-grease m!90McQ,
|
||||||
|
huj0QunueHMxUR/1rkmH
|
||||||
|
--- 37HKb796va0m2v12DIa8edo4s35P3MSNY2WDNjagawo
|
||||||
|
<EFBFBD><EFBFBD>-<2D><>͘ʌ<CD98><CA8C><04><>C'{<7B>(*S<>Gs<47><73><EFBFBD>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD>W!<21><>S^o<¡y<C2A1>I<EFBFBD>X,<2C>=^<5E><>)ǁ<><C781>Fa<16><≯_<CCB8>?<3F><>6Xg^l<>l*#<23>oQOZ
|
||||||
Reference in New Issue
Block a user