macOS (Darwin) 向け nix-darwin 設定の追加 #3
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
macOS 環境でも Nix Flakes + nix-darwin + Home Manager を使用した宣言的な設定管理を可能にするための機能追加。これにより、NixOS と macOS で統一された dotfiles 管理が実現できる。
変更内容
darwin/ディレクトリを新規作成し、nix-darwin の基本設定を追加configuration.nix: macOS システム設定(Homebrew 統合、フォント、シェル設定など)default.nix: darwin システムビルダーflake.nixに nix-darwin input と darwinConfigurations を追加latias(x86_64-darwin) とlatios(aarch64-darwin) のプロファイルを定義profiles/latias/とprofiles/latios/にマシンプロファイルを追加home-manager/profiles/latias/とhome-manager/profiles/latios/に Home Manager 設定を追加Makefileを拡張し、Darwin 環境でのmake build/make switchに対応CLAUDE.mdを追加し、リポジトリの構成と使用方法を文書化🤖 Generated with Claude Code