aboutsummaryrefslogtreecommitdiff
path: root/nixos/npmrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/npmrc.sh')
-rw-r--r--nixos/npmrc.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/npmrc.sh b/nixos/npmrc.sh
index 2bc28dc..0bc6ecb 100644
--- a/nixos/npmrc.sh
+++ b/nixos/npmrc.sh
@@ -1 +1,5 @@
-prefix="~/.npm-packages"
+# shellcheck disable=2148 disable=2034
+prefix=/home/andreh/.npm-packages
+# Taken from:
+# http://www.tomsquest.com/blog/2018/10/better-npm-ing/
+save-exact=true