mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-25 01:07:15 +08:00
darwin: set ssh auth sock for 1p
This commit is contained in:
parent
effa57f0bc
commit
d1f7f31400
1 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,9 @@
|
|||
export PATH=/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin/:$PATH
|
||||
# For 1Password CLI. This requires `pkgs.gh` to be installed.
|
||||
source $HOME/.config/op/plugins.sh
|
||||
# Because, adding it in .ssh/config is not enough.
|
||||
# cf. https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client
|
||||
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue