From 3ad750a3d977b3472a8a67acb7aa3613be7f70bb Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 11 Feb 2023 22:24:30 +0100 Subject: Fix(home-manager): Improve Firefox configuration --- home-manager/npm/.npmrc | 6 ++++++ home-manager/npm/default.nix | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 home-manager/npm/.npmrc create mode 100644 home-manager/npm/default.nix (limited to 'home-manager/npm') 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 + -- cgit 1.4.1