Skip to content

refactor(nix): consolidate home-manager profiles into nix/home/ - #64

Open
siraken wants to merge 2 commits into
mainfrom
refactor/consolidate-home-profiles
Open

refactor(nix): consolidate home-manager profiles into nix/home/#64
siraken wants to merge 2 commits into
mainfrom
refactor/consolidate-home-profiles

Conversation

@siraken

@siraken siraken commented Feb 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • 3つのほぼ同一の home.nix(siraken-mbp, siraken-macmini, wsl-ubuntu)を nix/home/main.nix に統合
  • プラットフォーム差分は isDarwinextraSpecialArgs 経由)で条件分岐
    • darwin-only: ghostty, kitty, aerospace, jankyborders, mutableSymlinks
    • linux-only: gcc, libgcc, xdg-utils
  • openclaw は macmini 固有としてホスト側 default.nix にインライン import
  • difftastic を全ホスト共通で有効化(wsl-ubuntu ではコメントアウトされていた)
  • nix/home/minimal/home.nixnix/home/minimal.nix に移動

Test plan

  • nix fmt — フォーマット確認済み
  • nix flake check — siraken-mbp 通過(siraken-macmini は openclaw の既存 API 不整合で失敗、今回の変更とは無関係)
  • sudo darwin-rebuild build --flake .#siraken-mbp --impure — ビルド成功
  • sudo darwin-rebuild switch で実環境適用確認

Closes #63

🤖 Generated with Claude Code

Merge three nearly identical home.nix files (siraken-mbp, siraken-macmini,
wsl-ubuntu) into a single nix/home/main.nix with platform-conditional
imports and packages via isDarwin from extraSpecialArgs.

- darwin-only: ghostty, kitty, aerospace, jankyborders, mutableSymlinks
- linux-only: gcc, libgcc, xdg-utils
- openclaw: host-specific import in siraken-macmini default.nix
- difftastic: enabled for all hosts (was commented out on wsl-ubuntu)
- Move nix/home/minimal/home.nix to nix/home/minimal.nix

Closes #63

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@siraken siraken self-assigned this Feb 17, 2026
@siraken

siraken commented Feb 18, 2026

Copy link
Copy Markdown
Owner Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(nix): unify home-manager profiles into nix/home/

1 participant