mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
services/matrix: use secrets module for env
This commit is contained in:
parent
e727189699
commit
cc72f12a6d
1 changed files with 8 additions and 2 deletions
|
|
@ -26,6 +26,12 @@
|
|||
}];
|
||||
}];
|
||||
};
|
||||
|
||||
secrets.files = {
|
||||
telegram-env = {
|
||||
source = ../private/files/matrix/mautrix-telegram.env;
|
||||
};
|
||||
};
|
||||
|
||||
services.mautrix-telegram = {
|
||||
enable = true;
|
||||
|
|
@ -45,10 +51,10 @@
|
|||
};
|
||||
bridge = {
|
||||
relaybot.authless_portals = false;
|
||||
permissions = { "@kat:kittywit.ch" = "admin"; };
|
||||
permissions = { "@kat:kittywit.ch" = "admin"; "kittywit.ch" = "full"; };
|
||||
};
|
||||
};
|
||||
environmentFile = "/etc/secrets/mautrix-telegram.env";
|
||||
environmentFile = config.secrets.files.telegram-env.path;
|
||||
};
|
||||
|
||||
systemd.services.mx-puppet-discord = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue