feat(home/linux/base): make npm install -g <pkg> happey

This commit is contained in:
Ryan Yin
2025-07-16 22:13:55 +08:00
parent ec6211ff5c
commit f51f364cfa
2 changed files with 21 additions and 14 deletions
+9
View File
@@ -0,0 +1,9 @@
{config, ...}: {
# make `npm install -g <pkg>` happey
#
# mainly used to install npm packages that updates frequently
# such as gemini-cli, claude-code, etc.
home.file.".npmrc".text = ''
prefix=${config.home.homeDirectory}/.npm
'';
}