mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 00:22:39 +02:00
feat(home/linux/base): make npm install -g <pkg> happey
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user