From 32a3222296c8df9449734a52610e4499cd15f95e Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Fri, 19 Jul 2024 02:46:47 +0200 Subject: [PATCH] Expose the copilot token as a variable on the system --- home-manager/server/shell/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home-manager/server/shell/zsh.nix b/home-manager/server/shell/zsh.nix index cfa0e06..b28f5c3 100644 --- a/home-manager/server/shell/zsh.nix +++ b/home-manager/server/shell/zsh.nix @@ -51,7 +51,9 @@ in { echo " { config = config.nixpkgs.config; };" } + # Variables export LS_COLORS="$(vivid generate gruvbox-dark)"; + export COPILOT_API_KEY="$(cat ${config.sops.secrets."tokens/copilot".path})" ## Autocompletions # tailscale @@ -77,6 +79,7 @@ in { unset __conda_setup # <<< conda initialize <<< ''; + antidote = { enable = true; plugins = [