diff options
author | Vincent Ambo <mail@tazj.in> | 2023-05-24T16·13+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-05-24T16·28+0000 |
commit | 85fe10bef12370410c0c0e0d4a43363ca5dda4d7 (patch) | |
tree | 449acba0a524dc5aeebd265be26ddcda1ad68cb1 /users/tazjin/nixos/modules/tgsa.nix | |
parent | 38042ea4452b224499b24ee5390a56774d74375c (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.nix | 1 |
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"; |