From 4c899bbfc68dd0996b230819922d04a410542e86 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:59:50 +0200 Subject: [PATCH] nu: add node_modules bin to PATH --- modules/common/neovim.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" ]; }]; }