diff options
author | Alan Pearce | 2020-06-03 10:00:45 +0200 |
---|---|---|
committer | Alan Pearce | 2020-06-03 10:11:02 +0200 |
commit | 18249c15bb7ae17d5ae43711ab9cc34e326d7f14 (patch) | |
tree | e42f4c35079fafe545d4c2a9ebdf24d4394792ce /user | |
parent | 7ce360f764ef2255f620662ceb424a0c81a2b358 (diff) | |
download | nixfiles-18249c15bb7ae17d5ae43711ab9cc34e326d7f14.tar.lz nixfiles-18249c15bb7ae17d5ae43711ab9cc34e326d7f14.tar.zst nixfiles-18249c15bb7ae17d5ae43711ab9cc34e326d7f14.zip |
javascript: enable running npm inside Emacs
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 |