nu: add node_modules bin to PATH

This commit is contained in:
TheGeneralist 2025-06-30 20:59:50 +02:00
parent 00c3f83961
commit 4c899bbfc6
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -31,6 +31,13 @@ in {
force = true;
recursive = true;
};
".npmrc" = {
force = true;
text = ''
prefix=~/.npm-packages
color=true
'';
};
} // optionalAttrs config.onLinux {
".config/i3status" = {
source = ../dotfiles/i3status;
@ -39,10 +46,12 @@ in {
};
};
# TODO: this
# TODO: make this normal
# programs.npm.npmrc = ''
# prefix=~/.npm-packages
# color=true
# '';
home.sessionPath = [ "node_modules/.bin" ];
}];
}