mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 12:30:23 +01:00
11 lines
252 B
Nix
11 lines
252 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
|
|
'';
|
|
}
|