about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/tgsa.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-05-24T16·13+0300
committertazjin <tazjin@tvl.su>2023-05-24T16·28+0000
commit85fe10bef12370410c0c0e0d4a43363ca5dda4d7 (patch)
tree449acba0a524dc5aeebd265be26ddcda1ad68cb1 /users/tazjin/nixos/modules/tgsa.nix
parent38042ea4452b224499b24ee5390a56774d74375c (diff)
feat(tazjin/nixos): pass api key to tgsa in a hacky way r/6195
Change-Id: I45824b65689a659ba25629f3565b9d5cb77b61c3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8626
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/modules/tgsa.nix')
-rw-r--r--users/tazjin/nixos/modules/tgsa.nix1
1 files changed, 1 insertions, 0 deletions
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";