mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 07:04:47 +00:00
24 lines
729 B
Nix
24 lines
729 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
claudePackage = inputs.claudeCode.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
|
in
|
|
{
|
|
home.file.".local/bin/claude".source = "${claudePackage}/bin/claude";
|
|
|
|
# Claude Code still resolves user settings from ~/.claude rather than XDG.
|
|
home.file.".claude/CLAUDE.md".source = ../config/claude/CLAUDE.md;
|
|
home.file.".claude/commands" = {
|
|
source = ../config/claude/commands;
|
|
recursive = true;
|
|
};
|
|
home.file.".claude/settings.json".source = ../config/claude/settings.json;
|
|
home.file.".claude/settings.local.json".source = ../config/claude/settings.local.json;
|
|
home.file.".claude/statusline.sh" = {
|
|
source = ../config/claude/statusline.sh;
|
|
executable = true;
|
|
};
|
|
}
|