mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-27 18:57:15 +08:00
macOS: Fix wrong git being in path
cf. https://github.com/nix-community/home-manager/issues/3324 Re-opens https://github.com/srid/nixos-config/issues/22
This commit is contained in:
parent
0d24480ab1
commit
41bed38501
1 changed files with 4 additions and 4 deletions
|
|
@ -27,10 +27,10 @@
|
|||
|
||||
programs.zsh.enable = true;
|
||||
# To put nix and home-manager-installed packages in PATH.
|
||||
home.sessionPath = [
|
||||
"/etc/profiles/per-user/$USER/bin"
|
||||
"/run/current-system/sw/bin"
|
||||
];
|
||||
# TODO: Use sessionPath after https://github.com/nix-community/home-manager/issues/3324
|
||||
programs.zsh.initExtra = ''
|
||||
export PATH=/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin/:$PATH
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue