add claude code

This commit is contained in:
EdenQwQ 2025-07-10 17:00:26 +08:00
parent 9dc96a2264
commit 27da0e6e22
6 changed files with 22 additions and 0 deletions

View file

@ -2,6 +2,7 @@
pkgs,
lib,
user,
config,
...
}:
{

View file

@ -0,0 +1,10 @@
{ pkgs, config, ... }:
{
home = {
packages = with pkgs; [ claude-code ];
sessionVariables = {
ANTHROPIC_BASE_URL = "https://anyrouter.top";
ANTHROPIC_AUTH_TOKEN = "$(cat ${config.age.secrets.anyrouter_token.path})";
};
};
}

View file

@ -49,6 +49,7 @@
./eye-candy.nix
./obs.nix
./music.nix
./claude-code.nix
];
programs.pay-respects.enable = true;
}