fix: add /sbin and /usr/sbin to PATH (needed for pass/diskutil)

This commit is contained in:
mikl 2026-07-01 15:46:07 +03:00
parent 7b8682f3d9
commit 882010ce2e

View file

@ -44,6 +44,11 @@
ll = "eza -l --icons --git"; ll = "eza -l --icons --git";
la = "eza -la --icons --git"; la = "eza -la --icons --git";
ff = "fastfetch"; ff = "fastfetch";
# pass sync (password store)
pass-sync = "pass git push";
pass-pull = "pass git pull";
pass-status = "pass git status";
}; };
# Environment setup (zshenv) # Environment setup (zshenv)
@ -56,7 +61,7 @@
# Init content - uses lib.mkBefore to run before home-manager generated code # Init content - uses lib.mkBefore to run before home-manager generated code
initContent = lib.mkMerge [ initContent = lib.mkMerge [
(lib.mkBefore '' (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 # Show fastfetch on shell start