hydrogen: +typst-bot

This commit is contained in:
Primrose 2024-09-29 18:31:37 +02:00
parent 31520bdf8e
commit 2bd561e4c9
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 18 additions and 4 deletions

View file

@ -21,13 +21,25 @@
};
# hoot, the discord bot
services.hoot.enable = true;
services.hoot.environmentFile = config.age.secrets.hoot_token.path;
services.hoot.configDir = "/var/hoot";
services.hoot = {
enable = true;
environmentFile = config.age.secrets.hoot_token.path;
configDir = "/var/hoot";
};
age.secrets.hoot_token = {
owner = "hoot";
mode = "600";
file = ../../secrets/hoot_token.age;
};
services.typst-bot = {
enable = true;
environmentFile = config.age.secrets.typst-bot_token.path;
dataDir = "/var/typst-bot";
};
age.secrets.typst-bot_token = {
owner = "typst-bot";
mode = "600";
file = ../../secrets/typst-bot_token.age;
};
}