feat: added claude code

This commit is contained in:
Nick 2025-03-31 23:58:34 -05:00
parent d128f59d8e
commit e325004210
4 changed files with 21 additions and 4 deletions

View file

@ -1,9 +1,14 @@
{ flake, ... }:
let
inherit (flake.config.people) user0;
in
{ {
programs.nushell = { programs.nushell = {
enable = true; enable = true;
configFile.text = '' configFile.text = ''
sleep 7ms sleep 7ms
$env.config = {show_banner: false} $env.config = {show_banner: false}
$env.ANTHROPIC_API_KEY = (open /home/${user0}/.config/zed/claude-api-key)
''; '';
shellAliases = { shellAliases = {
y = "yy"; y = "yy";

View file

@ -63,6 +63,7 @@ in
polychromatic polychromatic
dolphin dolphin
espanso espanso
claudeCode
; ;
}; };
}; };

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
claude-code
;
};
}

View file

@ -61,10 +61,10 @@ in
path = "/home/${userLogic}/.ssh/known_hosts"; path = "/home/${userLogic}/.ssh/known_hosts";
owner = userLogic; owner = userLogic;
}; };
# "claude-api-key" = { "claude-api-key" = {
# path = "/home/${user0}/.config/zed/claude-api-key"; path = "/home/${user0}/.config/zed/claude-api-key";
# owner = user0; owner = user0;
# }; };
}; };
}; };
} }