blob: 394dd8cba676fb00d2256b0dbc75022b6c232409 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{ config, ... }:
{
home = {
file.".nmprc".source = ./npmrc;
sessionVariables = {
NPM_PACKAGES = "${config.xdg.dataHome}/npm_packages";
NODE_PATH = "${config.home.sessionVariables.NPM_PACKAGES}/lib/node_modules";
};
};
}
|