diff --git a/modules/common/neovim.nix b/modules/common/neovim.nix index 4ddbc5a..49801e2 100644 --- a/modules/common/neovim.nix +++ b/modules/common/neovim.nix @@ -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" ]; }]; }