From f1f269f6508eba759b7bc04441c96029ea1b5876 Mon Sep 17 00:00:00 2001 From: tamakiii Date: Tue, 21 Apr 2026 15:39:05 +0900 Subject: [PATCH] Add ~/.nix-profile/bin to the Arch paths list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit home-manager installs user-scoped tools (glab, etc.) into ~/.nix-profile/bin but that directory wasn't on the PATH assembled by os/arch/.zprofile. Result: `which glab` from a login shell that sources this .zprofile would fail, even though home-manager had installed it cleanly via tamakiii/home:anatolian.local/nix/home.nix. Surfaced during the 2026-04-21 tamakiii-hdd capture→ingest round on anatolian — the globally-configured git credential helper `\!glab auth git-credential` for gitlab.anatolian.local failed with "glab: command not found" in every Claude Code session, forcing a pass-backed inline helper + GitLab-API fallback. Adding the Nix user profile to PATH here is the one-line honest fix. Mac is unaffected: home-manager isn't used on weimaraner; os/mac/.zprofile is its own file. --- os/arch/.zprofile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os/arch/.zprofile b/os/arch/.zprofile index 3425960f..2cd6cb95 100644 --- a/os/arch/.zprofile +++ b/os/arch/.zprofile @@ -30,6 +30,9 @@ paths=( "$HOME/.cargo/bin" "$HOME/.npm-global/bin" + # home-manager user profile (glab and other Nix-managed tools) + "$HOME/.nix-profile/bin" + # System-wide binaries "/usr/local/bin" "/usr/bin"