programs.npm.npmrc
NixOS option
The system-wide npm configuration. See https://docs.npmjs.com/misc/config.
type: strings concatenated with "\n"Default
''
prefix = ''${HOME}/.npm
''Example
declared in: nixos/modules/programs/npm.nixView source on NixOS/nixpkgs →''
prefix = ''${HOME}/.npm
https-proxy=proxy.example.com
init-license=MIT
init-author-url=https://www.npmjs.com/
color=true
''