summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-11-20 17:07:06 +0100
committerAlan Pearce2019-11-20 17:07:21 +0100
commit8f30882d152f5bf63fdd2c4662a1e22f19e092fd (patch)
treeb8824c5fb66683f1acb3730d3bea072ff6c11772
parent2d73e8c72bb558e8996bf6884be83915a9099a8a (diff)
downloadnixfiles-8f30882d152f5bf63fdd2c4662a1e22f19e092fd.tar.lz
nixfiles-8f30882d152f5bf63fdd2c4662a1e22f19e092fd.tar.zst
nixfiles-8f30882d152f5bf63fdd2c4662a1e22f19e092fd.zip
javascript: Ask packages not to phone home
-rw-r--r--user/settings/javascript.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index 838bccc9..8e83ee3c 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -48,6 +48,10 @@ in
     yaml-language-server
   ]);
 
+  home.sessionVariables = {
+    NO_UPDATE_NOTIFIER = "1"; # stop npm update-notifier
+  };
+
   programs.zsh.shellAliases = {
     ava = "pnpx ava";
     avt = "pnpx ava --tap";