1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

set pnpm home per OS

This commit is contained in:
TheGeneralist 2026-02-14 12:46:56 +01:00
parent 82173db312
commit 08d7a88fd8
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -65,7 +65,8 @@ in
}; };
# TODO: the two from the last (below) should be somehow moved to their own files # TODO: the two from the last (below) should be somehow moved to their own files
home.sessionVariables.PNPM_HOME = "$HOME/Library/pnpm"; home.sessionVariables.PNPM_HOME =
if config.inDarwin then "$HOME/Library/pnpm" else "$HOME/.local/share/pnpm";
home.sessionPath = [ home.sessionPath = [
"node_modules/.bin" "node_modules/.bin"