From 882010ce2ebf6db3476934c4bd6983dcd778a82e Mon Sep 17 00:00:00 2001 From: mikl Date: Wed, 1 Jul 2026 15:46:07 +0300 Subject: [PATCH] fix: add /sbin and /usr/sbin to PATH (needed for pass/diskutil) --- home/zsh.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/zsh.nix b/home/zsh.nix index 4627c30..9fb980b 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -44,6 +44,11 @@ ll = "eza -l --icons --git"; la = "eza -la --icons --git"; ff = "fastfetch"; + + # pass sync (password store) + pass-sync = "pass git push"; + pass-pull = "pass git pull"; + pass-status = "pass git status"; }; # Environment setup (zshenv) @@ -56,7 +61,7 @@ # Init content - uses lib.mkBefore to run before home-manager generated code initContent = lib.mkMerge [ (lib.mkBefore '' - export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$HOME/.nix-profile/bin:/etc/profiles/per-user/michaotic/bin:$PATH" + export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:$HOME/.nix-profile/bin:/etc/profiles/per-user/michaotic/bin:$PATH" '') '' # Show fastfetch on shell start