mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-18 15:09:48 +02:00
10 lines
250 B
Nix
10 lines
250 B
Nix
{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
|
|
'';
|
|
}
|