nu: add node_modules bin to PATH
This commit is contained in:
parent
00c3f83961
commit
4c899bbfc6
1 changed files with 10 additions and 1 deletions
|
|
@ -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" ];
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue