diff options
Diffstat (limited to 'home/profiles')
| -rw-r--r-- | home/profiles/darwin.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/home/profiles/darwin.nix b/home/profiles/darwin.nix index 136a93f..53c6ff8 100644 --- a/home/profiles/darwin.nix +++ b/home/profiles/darwin.nix @@ -3,6 +3,12 @@ age = { identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ]; secretsDir = "${config.home.homeDirectory}/.local/share/agenix"; + + secrets = { + anthropic-api-key = { + file = ../../secrets/users/fcuny/anthropic-api-key.age; + }; + }; }; imports = [ @@ -39,6 +45,10 @@ ps = "${pkgs.procs}/bin/procs"; }; + programs.fish.shellInit = '' + export ANTHROPIC_API_KEY="$(cat ${config.age.secrets.anthropic-api-key.path})" + ''; + home.sessionPath = [ "${config.home.homeDirectory}/.local/bin" ]; |
