mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-12 10:50:09 +02:00
10 lines
207 B
Nix
10 lines
207 B
Nix
{ config, ... }:
|
|
{
|
|
# 1. make `npm install -g <pkg>` happey
|
|
# 2. set min-release-age for security
|
|
home.file.".npmrc".text = ''
|
|
prefix=${config.home.homeDirectory}/.npm
|
|
min-release-age=7
|
|
'';
|
|
}
|