diff options
author | ene <ene@sils.li> | 2023-02-11 22:24:30 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-12 17:48:12 +0100 |
commit | 3ad750a3d977b3472a8a67acb7aa3613be7f70bb (patch) | |
tree | d3289733fa29b10c835fd8295b5c9737160c10aa /home-manager/npm | |
parent | Fix(home-manager): Import home-manager correctly (diff) | |
download | nixos-config-3ad750a3d977b3472a8a67acb7aa3613be7f70bb.zip |
Fix(home-manager): Improve Firefox configuration
Diffstat (limited to 'home-manager/npm')
-rw-r--r-- | home-manager/npm/.npmrc | 6 | ||||
-rw-r--r-- | home-manager/npm/default.nix | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/home-manager/npm/.npmrc b/home-manager/npm/.npmrc new file mode 100644 index 00000000..d0d846bd --- /dev/null +++ b/home-manager/npm/.npmrc @@ -0,0 +1,6 @@ +scripts-prepend-node-path=true +node_gyp= +prefix=${XDG_DATA_HOME}/npm +cache=${XDG_CACHE_HOME}/npm +tmp=${XDG_RUNTIME_DIR}/npm +init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js diff --git a/home-manager/npm/default.nix b/home-manager/npm/default.nix new file mode 100644 index 00000000..d12ce73b --- /dev/null +++ b/home-manager/npm/default.nix @@ -0,0 +1,9 @@ +{ + config, + pkgs, + ... +}: { + xdg.configFile."npm/.npmrc".source = ./.npmrc; +} +# vim: ts=2 + |