1

Services: Update heidi and kopia to use agenix secrets

This commit is contained in:
2025-07-09 03:30:37 +02:00
parent 4f6a4dea3e
commit 697bb0dd8b
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,9 @@
];
environment = {
DISCORD_TOKEN = (builtins.readFile ./heidi.discord_token);
# TODO: I can't do this because readFile obviously doesn't
# read at runtime but at buildtime, duh...
DISCORD_TOKEN = builtins.readFile config.age.secrets.heidi-discord-token.path;
DOCKER = "True";
};