diff --git a/home/zsh.nix b/home/zsh.nix index ac5f453..beac06a 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -1,6 +1,11 @@ -{ lib, pkgs, ... }: +{ pkgs, ... }: { + home.sessionPath = [ + "/etc/profiles/per-user/$USER/bin" + "/nix/var/nix/profiles/system/sw/bin" + "/usr/local/bin" + ]; programs.zsh = { enable = true; autosuggestion.enable = true; @@ -14,8 +19,6 @@ ]; envExtra = '' - export PATH=/etc/profiles/per-user/$USER/bin:/nix/var/nix/profiles/system/sw/bin:/usr/local/bin:$PATH - # 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