diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/javascript.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix index f438c784..d4e1b0b2 100644 --- a/user/settings/javascript.nix +++ b/user/settings/javascript.nix @@ -110,7 +110,8 @@ in home.file.".npmrc".text = '' prefix=''${HOME}/.local - //registry.npmjs.org/:_authToken=''${NPM_AUTH_TOKEN} + cache=${config.xdg.cacheHome}/npm/ + //registry.npmjs.org/:_authToken=${config.home.sessionVariables.NPM_AUTH_TOKEN} always-auth=true sign-git-tag=true rebuild-bundle=false |