1
0
Commit Graph

16 Commits

Author SHA1 Message Date
a745959f97 Add homeManagerModules.claude for Claude Code configuration management
This commit introduces a new home-manager module that provides declarative
configuration management for Claude Code, Anthropic's official CLI tool. The
module follows the established pattern used by other home-manager modules in
this flake (default, private, macos, develop) and enables users to deploy
custom Claude Code slash commands and configuration files to ~/.claude/.

Changes included:

1. Created home/claude/config.nix module:
   - Defines a new home-manager module for Claude Code configuration
   - Uses home.file to deploy command files from the Nix store to ~/.claude/
   - Currently deploys two custom slash commands to ~/.claude/commands/

2. Added two custom slash commands:
   - commit.md: Automates git commit creation by reading staged diffs and
     generating comprehensive commit messages
   - go-plan.md: Writes detailed implementation plans to PLAN.md before
     starting work, supporting the planning workflow

3. Registered homeManagerModules.claude in flake.nix:
   - Added as a new, independent module group that can be imported separately
   - Positioned after the develop module for logical organization
   - Can be enabled by importing inputs.nix-shared.homeManagerModules.claude

4. Enhanced flake.nix documentation:
   - Added descriptive comments for all nixosModules and homeManagerModules
   - Clarifies the purpose of each module group (e.g., "Linux specific system
     configuration", "Add private homelab and cloud host aliases")
   - Improves maintainability and makes the flake structure self-documenting

The module structure supports easy extension - additional slash commands or
configuration files can be added by placing them in home/claude/config/ and
adding corresponding home.file entries in config.nix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 23:08:06 -08:00
0de3ffd6b3 create homeManagerModules.private for ssh hosts 2025-11-04 22:34:57 -08:00
b0a0d1efcd linux: add openssh and tb user account 2025-11-04 18:50:32 -08:00
1a5009f4af add system/linux/i18n.nix 2025-09-22 08:46:06 -07:00
abe5a405d0 add ssh-authorized-keys.nix for all hosts 2025-09-21 21:13:57 -07:00
05d4fd7ed2 create home/macos/home.nix 2025-09-21 19:15:01 -07:00
b699896f68 add nixosModules.develop containing packages 2025-09-21 18:52:49 -07:00
a204bbcf72 macos: set up symbol hotkeys 2025-09-21 18:04:38 -07:00
d93557d7bf macos: add yabai window manager 2025-09-21 16:03:27 -07:00
84ec7b5318 add nix settings and dir colors for MacOS 2025-09-21 15:49:19 -07:00
91a1aa83f7 macos/system: add shells 2025-09-21 09:20:39 -07:00
9f57a00ffe system/default: add prompt.nix for prompt coloring 2025-09-19 22:17:53 -07:00
6cc3a633e6 enable formatter 2025-09-19 22:17:25 -07:00
d44a684fbb create tb-shared.nixosModules.macos 2025-08-11 08:25:02 -07:00
87929055af Extract settings for Darwin 2025-06-25 23:42:33 -07:00
1061e07deb Initial shared NixOS modules 2025-06-23 23:38:57 -07:00