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 <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-05-24 19:13:23 +03:00 committed by tazjin
parent 38042ea445
commit 85fe10bef1

View file

@ -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";