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 = {
enable = true;
configFile.text = ''
sleep 7ms
$env.config = {show_banner: false}
$env.ANTHROPIC_API_KEY = (open /home/${user0}/.config/zed/claude-api-key)
'';
shellAliases = {
y = "yy";

View file

@ -63,6 +63,7 @@ in
polychromatic
dolphin
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";
owner = userLogic;
};
# "claude-api-key" = {
# path = "/home/${user0}/.config/zed/claude-api-key";
# owner = user0;
# };
"claude-api-key" = {
path = "/home/${user0}/.config/zed/claude-api-key";
owner = user0;
};
};
};
}