From 27ff1b1f80347dcf32bb8bbf4ce53238638a9923 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 19 Jun 2022 15:32:10 -0700 Subject: [PATCH] Apparently systemd doesn't use / as a break --- module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.nix b/module.nix index 99ee69c..5b79fb8 100644 --- a/module.nix +++ b/module.nix @@ -62,8 +62,8 @@ in { environment = { PRICEBOT_EXCHANGE_HOST = cfg.exchange-host; PRICEBOT_BEBOT_URL = cfg.mattermost-url; - # PRICEBOT_BEBOT_AUTH_TOKEN_FILE = "%d/auth.token"; - PRICEBOT_BEBOT_AUTH_TOKEN_FILE = "FUCKOFF"; + PRICEBOT_BEBOT_AUTH_TOKEN_FILE = + "\${CREDENTIALS_DIRECTORY}/auth.token"; PRICEBOT_BEBOT_CHANNEL_ID = opts.mattermost-channel-id; PRICEBOT_TARGET_CURRENCY = opts.currency; PRICEBOT_NOTIFY_USER = opts.notify-user;