1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 03:21:10 +01:00

fix(catullus): use system-secrets

This commit is contained in:
Kierán Meinhardt
2020-10-06 23:21:04 +02:00
parent 717355a2cd
commit 8098cdc842
6 changed files with 10 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ in {
wantedBy = [ "multi-user.target" ];
description = "Telegram bot reciting the Odyssey to you";
environment.TELEGRAM_ODYSSEY_TOKEN =
lib.strings.fileContents <secrets/telegram/odyssey.token>;
lib.strings.fileContents <system-secrets/telegram/odyssey.token>;
enable = true;
script = "${telebots.odyssey}/bin/telegram-odyssey";
serviceConfig.Restart = "always";
@@ -40,7 +40,7 @@ in {
wantedBy = [ "multi-user.target" ];
description = "Telegram bot for reversing things";
environment.TELEGRAM_REVERSE_TOKEN =
lib.strings.fileContents <secrets/telegram/reverse.token>;
lib.strings.fileContents <system-secrets/telegram/reverse.token>;
enable = true;
script = "${telebots.reverse}/bin/telegram-reverse";
serviceConfig.Restart = "always";
@@ -51,7 +51,7 @@ in {
description =
"Telegram bot for converting Ancient Greek betacode into unicode";
environment.TELEGRAM_BETACODE_TOKEN =
lib.strings.fileContents <secrets/telegram/betacode.token>;
lib.strings.fileContents <system-secrets/telegram/betacode.token>;
enable = true;
script = "${telebots.betacode}/bin/telegram-betacode";
serviceConfig.Restart = "always";