home-managed npmrc
This commit is contained in:
parent
c9f0f903a3
commit
7149166a2f
3 changed files with 12 additions and 1 deletions
9
users/rin/npm.nix
Normal file
9
users/rin/npm.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }: {
|
||||
home.packages = [ pkgs.nodejs ];
|
||||
|
||||
home.file.".npmrc".text = ''
|
||||
cache=${config.xdg.dataHome}/npm/cache
|
||||
prefix=${config.xdg.dataHome}/npm
|
||||
store-dir=${config.xdg.dataHome}/npm/pnpm-store
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue