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;
|
force = true;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
".npmrc" = {
|
||||||
|
force = true;
|
||||||
|
text = ''
|
||||||
|
prefix=~/.npm-packages
|
||||||
|
color=true
|
||||||
|
'';
|
||||||
|
};
|
||||||
} // optionalAttrs config.onLinux {
|
} // optionalAttrs config.onLinux {
|
||||||
".config/i3status" = {
|
".config/i3status" = {
|
||||||
source = ../dotfiles/i3status;
|
source = ../dotfiles/i3status;
|
||||||
|
|
@ -39,10 +46,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: this
|
# TODO: make this normal
|
||||||
# programs.npm.npmrc = ''
|
# programs.npm.npmrc = ''
|
||||||
# prefix=~/.npm-packages
|
# prefix=~/.npm-packages
|
||||||
# color=true
|
# color=true
|
||||||
# '';
|
# '';
|
||||||
|
|
||||||
|
home.sessionPath = [ "node_modules/.bin" ];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue