mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: added claude code
This commit is contained in:
parent
d128f59d8e
commit
e325004210
4 changed files with 21 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -63,6 +63,7 @@ in
|
|||
polychromatic
|
||||
dolphin
|
||||
espanso
|
||||
claudeCode
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
11
modules/home/gui/apps/tools/claudeCode/default.nix
Executable file
11
modules/home/gui/apps/tools/claudeCode/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
claude-code
|
||||
;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue