nix-config/home-manager/sajenim/features/editors/default.nix
jasmine 2a63eb381c
add Claude Code integration
- Add CLAUDE.md with comprehensive repository documentation
- Configure claude-code package in editors feature
- Add MCP nixos integration for better Nix ecosystem support
- Include Claude settings with co-authored-by disabled
- Update unfree predicate for proprietary AI tools
2025-09-29 09:13:00 +08:00

47 lines
1 KiB
Nix

{
inputs,
pkgs,
lib,
...
}: {
home.packages = with pkgs;
[
# Toolchains
gcc
jdk17
python313
# Typesetting
pandoc
texliveFull
# AI-powered coding assistant and CLI tool
claude-code
unstable.mcp-nixos
]
++ [
# Our personal neovim configuration.
inputs.nixvim.packages.${pkgs.system}.default
]
# Install jetbrains IDEs with plugins
++ (with inputs.nix-jetbrains-plugins.lib."${system}"; [
(buildIdeWithPlugins pkgs.jetbrains "idea-ultimate" [
"IdeaVIM"
"gruvbox-material-dark"
])
]); # https://github.com/theCapypara/nix-jetbrains-plugins
# Allow unfree packages for proprietary software
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"claude-code"
"idea-ultimate"
"idea-ultimate-with-plugins"
];
# Copy our configuration files to home directory
home.file = {
".ideavimrc".source = ./ideavimrc;
".claude/settings.json".source = ./claude-settings.json;
};
}