Repository navigation
fix(nix): home-manager の非推奨警告を解消(ssh.settings 移行と neovim provider 明示) - #106
Merged
Merged
Conversation
flake inputs 全更新 (#102) で home-manager が master rev a3dfb88 まで進み、 ビルド時に4つの evaluation warning が出るようになったため解消する。 - programs.ssh.matchBlocks / extraOptions を新 API の programs.ssh.settings に移行 - プロファイルデータ (personal.nix) も upstream ディレクティブ名に変更 - 生成される ~/.ssh/config のセマンティクスは不変(nix eval で確認済み) - neovim の withRuby / withPython3 を false に明示 - config/nvim は provider 非依存のため動作影響なし - stateVersion < 26.05 のデフォルト変更警告を解消 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MD6rb2dyzW3sRdveNESt5S
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.
概要
flake inputs 全更新 (#102) で home-manager が master rev
a3dfb88(2026-09-22)まで進んだ結果、nix run .#buildで出るようになった4つの evaluation warning を解消する。programs.neovim.withRubyデフォルト変更警告(stateVersion < 26.05)programs.neovim.withPython3同上programs.ssh.matchBlocks非推奨警告programs.ssh.matchBlocks.*.extraOptions非推奨警告変更内容
nix/modules/home/programs/ssh.nix:matchBlocks→ 新 APIprograms.ssh.settingsに移行。settingsは freeform のためUseKeychainをextraOptionsなしで直接記述。"*"ブロックは topoSort から除外され常に末尾出力される仕様のため、ordering 保証(Include 先頭 /Host *末尾)は維持されるnix/hosts/personal.nix: プロファイルのssh.matchBlocks(camelCase)をssh.settings(upstream ディレクティブ名)に変更。旧hostオプションは属性名"github github.com"に変換nix/modules/home/programs/neovim.nix:withRuby = false; withPython3 = false;を明示(config/nvim は provider 非依存)。home.stateVersionは "24.11" のまま維持検証
nix run .#buildが警告なしで成功(exit 0)nix evalで生成される~/.ssh/configを確認 — Include 先頭、Host github github.comブロック、Host *末尾(UseKeychain yes含む)でセマンティクス不変ssh -T git@github.comのスモークテスト(適用後に確認)🤖 Generated with Claude Code
https://claude.ai/code/session_01MD6rb2dyzW3sRdveNESt5S