summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/npm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/npm.nix')
-rw-r--r--nixos/modules/programs/npm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/npm.nix b/nixos/modules/programs/npm.nix
index 5fdd4fa841a1..b351d80c7acf 100644
--- a/nixos/modules/programs/npm.nix
+++ b/nixos/modules/programs/npm.nix
@@ -36,7 +36,7 @@ in
###### implementation
config = lib.mkIf cfg.enable {
- environment.etc."npmrc".text = cfg.npmrc;
+ environment.etc.npmrc.text = cfg.npmrc;
environment.variables.NPM_CONFIG_GLOBALCONFIG = "/etc/npmrc";