refactor: dotfiles管理をchezmoiとNix profileへ再編 - #13
Merged
Conversation
refactor: clean up misc
feat: nixvim: Neovim設定をNixvimへ移行
WindowsのLazyVimとcavaをmutableツリーへ分離し、junctionで配置する。 NixOSはnixvim、WSLはvimのみとし、設定ソースをdot_configへ統一する。
ci.ymlをオーケストレーターにし、lint・chezmoi・buildを再利用可能workflowへ分離する。 publish-cacheはmasterのNix設定変更時だけ呼び出す。
nvimとcavaをmutable直下へ移し、junction・検証・ドキュメントの参照を更新する。
YASB設定、wingetパッケージ、setupリンク、runtimeファイルの除外設定を戻す。
refactor: ciをオーケストラレーションとして責務を分割
T4ko0522
marked this pull request as draft
July 24, 2026 07:32
Owner
Author
|
@codex review |
T4ko0522
marked this pull request as ready for review
July 24, 2026 19:50
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5b98e570c2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Vite+の配布物をversion付きURLへ固定し、Codex DesktopのDMG pinを更新する。 WSL専用Vimと軽量なCI profileを追加し、profile契約で回帰を検出する。
NixOSとWSLのswitch後にchezmoiを適用する導線を追加する。 Windows native path、Komorebi、whkd、YASB起動をchezmoi管理下へ復元し、再適用の非対話契約を追加する。
PRではNix変更時だけ全hostをbuildし、master pushではpublish対象外のWSLとCI hostだけをbuildする。 Markdown lintとWindows native path・非対話再適用の検証を復元する。
Owner
Author
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Owner
Author
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
YASBのworkspace widget、PowerShell自動起動、Scoop導入、chezmoi ownershipとWindows CI契約から関連設定を除去する。
GitHub ActionsとJust recipeからMarkdown検査を外し、NixおよびWindowsの導入対象と専用設定も削除する。
既存のchezmoi configを読み込まず、windows・nixos・wslの各profileを独立して検証する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
概要
dotfilesの配置責務を、静的設定はchezmoi、書き戻しが必要な設定は
mutable/、NixOS固有設定はNix moduleへ整理します。Windows・NixOS・WSLの環境profileを明示し、各構成を同じrepositoryから再現・検証できる構成へ移行します。背景
従来はHome Manager、手書きPowerShell、symlink・junction、OS別ディレクトリが同じ設定を重複管理しており、変更元と配置先の対応が分かりにくい状態でした。また、NixOSのdesktop構成とWSLのCLI構成が十分に分離されておらず、構成ごとの可用性を継続的に確認する契約も不足していました。
主な変更点
windows・nixos・wslprofileを追加chezmoi/へ移し、環境別テンプレートとignore条件を定義mutable/へ分離影響範囲
chezmoi/、mutable/、nix-configs/、flake.nix、justfileを中心にdotfileとNixOS構成を再編.github/workflows/を責務別workflowへ分割し、chezmoi契約、Windows可用性、Nix profile、laptop・desktop・WSL・CI構成のbuildを追加README.md、docs/memo/、docs/keybindings/を新しいownershipと配置先へ更新レビューで見るべきポイント
docs/memo/dotfiles-ownership.tsvのownerと、chezmoi・Nix・unmanagedの実際の配置が一致しているかwindows・nixos・wslprofileで不要なGUI設定やhookが混入していないかマージ前チェック