summary refs log tree commit diff stats
path: root/user/settings/development
diff options
context:
space:
mode:
authorAlan Pearce2023-09-01 21:23:53 +0200
committerAlan Pearce2023-09-01 21:23:53 +0200
commit6df90f2470db9ec3b2febf684a08493dcddf2459 (patch)
treea5c5ca348a7a4a7df2db05822a9955de5d4f736f /user/settings/development
parente314ff32e87451b9574b4b762986e37b42f0fd24 (diff)
downloadnixfiles-6df90f2470db9ec3b2febf684a08493dcddf2459.tar.lz
nixfiles-6df90f2470db9ec3b2febf684a08493dcddf2459.tar.zst
nixfiles-6df90f2470db9ec3b2febf684a08493dcddf2459.zip
Configure programs to "follow" XDG spec
Diffstat (limited to 'user/settings/development')
-rw-r--r--user/settings/development/javascript.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix
index 4e6722f9..d68de810 100644
--- a/user/settings/development/javascript.nix
+++ b/user/settings/development/javascript.nix
@@ -119,7 +119,7 @@ in
     npul = "npm unlink";
   };
 
-  home.file.".npmrc".text = ''
+  xdg.configFile."npm/config".text = ''
     prefix=''${HOME}/.local
     cache=${config.xdg.cacheHome}/npm/
     store-dir=${config.xdg.cacheHome}/pnpm/