feat: add ~/.npm-global/bin to PATH

This commit is contained in:
imxyy1soope1 committed 2025-06-29 15:16:30 +08:00
1 parent 13b69ccc95
commit 51b882f2c5
1 file changed
+3
+3
View File
@@ -24,6 +24,9 @@ lib.my.makeSwitch {
prefix = ''${HOME}/.npm-global
registry = https://registry.npmmirror.com
'';
programs.zsh.initContent = lib.mkAfter ''
export PATH=$PATH:$HOME/.npm-global/bin
'';
};
my.persist.homeDirs = [
".npm"