feat(darwin): find tools from nix-darwin, keep the Keychain git helper #55

Merged
jmz merged 1 commit from feat/darwin-nix-paths into master 2026-11-23 16:22:18 +00:00
Owner

Prerequisite for moving git, vdirsyncer and friends from Homebrew to nixpkgs on mba (jmz/nixos-hosts, round 2). Harmless on its own: Homebrew stays first on PATH.

  • LaunchAgents sh.atuin.daemon, ch.swiss-yield.vdirsyncer, org.ziefle.task-review: PATH gets /run/current-system/sw/bin after /opt/homebrew/bin.
  • dot_gitconfig.tmpl: credential.helper = osxkeychain on darwin. Homebrew git set it in /opt/homebrew/etc/gitconfig; nixpkgs git has no system gitconfig, so Keychain credentials (git.sgm.markets) would be lost. First use of the nix git-credential-osxkeychain will show a one-time macOS Keychain prompt (Always Allow).

Merge + chezmoi apply before the nixos-hosts round-2 PR is deployed.

🤖 Generated with Claude Code

Prerequisite for moving git, vdirsyncer and friends from Homebrew to nixpkgs on mba (jmz/nixos-hosts, round 2). Harmless on its own: Homebrew stays first on PATH. - LaunchAgents `sh.atuin.daemon`, `ch.swiss-yield.vdirsyncer`, `org.ziefle.task-review`: PATH gets `/run/current-system/sw/bin` after `/opt/homebrew/bin`. - `dot_gitconfig.tmpl`: `credential.helper = osxkeychain` on darwin. Homebrew git set it in `/opt/homebrew/etc/gitconfig`; nixpkgs git has no system gitconfig, so Keychain credentials (git.sgm.markets) would be lost. First use of the nix `git-credential-osxkeychain` will show a one-time macOS Keychain prompt (Always Allow). Merge + `chezmoi apply` **before** the nixos-hosts round-2 PR is deployed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(darwin): find tools from nix-darwin, keep the Keychain git helper
All checks were successful
ci / gate (pull_request) Successful in 1m9s
dce6fa3b01
Prerequisite for moving git, vdirsyncer and friends from Homebrew to
nixpkgs on mba (nix-darwin). Harmless before that: Homebrew stays first.
- LaunchAgents atuin, vdirsyncer, task-review: PATH gets
  /run/current-system/sw/bin after /opt/homebrew/bin, so the jobs still
  find their tools once a Homebrew formula is gone.
- gitconfig: credential.helper osxkeychain on darwin. Homebrew's git
  set it in its system gitconfig (/opt/homebrew/etc/gitconfig); git from
  nixpkgs has none, which would lose the Keychain credentials (e.g.
  git.sgm.markets).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4ELq1Q12cmKnPuwJz2x
jmz merged commit dce6fa3b01 into master 2026-11-23 16:22:18 +00:00
jmz deleted branch feat/darwin-nix-paths 2026-11-23 16:22:18 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/dotfiles-public!55
No description provided.