From 85fe10bef12370410c0c0e0d4a43363ca5dda4d7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 24 May 2023 19:13:23 +0300 Subject: feat(tazjin/nixos): pass api key to tgsa in a hacky way Change-Id: I45824b65689a659ba25629f3565b9d5cb77b61c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8626 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/modules/tgsa.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'users/tazjin/nixos/modules') diff --git a/users/tazjin/nixos/modules/tgsa.nix b/users/tazjin/nixos/modules/tgsa.nix index ac6d940c2a1d..9953ab03acae 100644 --- a/users/tazjin/nixos/modules/tgsa.nix +++ b/users/tazjin/nixos/modules/tgsa.nix @@ -6,6 +6,7 @@ wantedBy = [ "multi-user.target" ]; serviceConfig = { + EnvironmentFile = "/root/tgsa-env"; # TODO(tazjin): automate this DynamicUser = true; Restart = "always"; ExecStart = "${depot.users.tazjin.tgsa}/bin/tgsa"; -- cgit 1.4.1