Skip to content

Commit

Permalink
🔐 (fish): api key
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Oct 23, 2024
1 parent 4ee5c42 commit 88e41c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/home/opt/utils/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
export GITHUB_TOKEN="$(cat ${config.sops.secrets."github/access-token".path})"
export ANTHROPIC_API_KEY="$(cat ${config.sops.secrets."ANTHROPIC_API_KEY".path})"
'';
fish.interactiveShellInit = # bash
''
export GITHUB_TOKEN="$(cat ${config.sops.secrets."github/access-token".path})"
export ANTHROPIC_API_KEY="$(cat ${config.sops.secrets."ANTHROPIC_API_KEY".path})"
'';
};

sops.secrets = {
Expand Down

0 comments on commit 88e41c1

Please sign in to comment.