home/xdg: set base dirs for npm
This commit is contained in:
parent
6a70c086f9
commit
8a41a97bbf
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
home.sessionVariables = let
|
home.sessionVariables = let
|
||||||
inherit (config.xdg) dataHome cacheHome configHome userDirs;
|
inherit (config.xdg) dataHome cacheHome configHome userDirs;
|
||||||
|
runtimeDir = "/run/user/${toString config.home.uid}";
|
||||||
in {
|
in {
|
||||||
TEXMFHOME = "${dataHome}/texmf";
|
TEXMFHOME = "${dataHome}/texmf";
|
||||||
TEXMFVAR = "${cacheHome}/texlive";
|
TEXMFVAR = "${cacheHome}/texlive";
|
||||||
@ -36,6 +37,9 @@
|
|||||||
ICEAUTHORITY = "${cacheHome}/ICEauthority";
|
ICEAUTHORITY = "${cacheHome}/ICEauthority";
|
||||||
NIMBLE_DIR = "${dataHome}/nimble";
|
NIMBLE_DIR = "${dataHome}/nimble";
|
||||||
NLTK_DATA = "${dataHome}/nltk_data";
|
NLTK_DATA = "${dataHome}/nltk_data";
|
||||||
|
NPM_CONFIG_CACHE="${cacheHome}/npm";
|
||||||
|
NPM_CONFIG_INIT_MODULE="${configHome}/npm/config/npm-init.js";
|
||||||
|
NPM_CONFIG_TMP="${runtimeDir}/npm";
|
||||||
NRFUTIL_HOME = "${dataHome}/nrfutil";
|
NRFUTIL_HOME = "${dataHome}/nrfutil";
|
||||||
NUGET_PACKAGES = "${cacheHome}/nuget-packages";
|
NUGET_PACKAGES = "${cacheHome}/nuget-packages";
|
||||||
PARALLEL_HOME = "${configHome}/parallel";
|
PARALLEL_HOME = "${configHome}/parallel";
|
||||||
|
Loading…
Reference in New Issue
Block a user