summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2021-03-11 14:59:21 +0100
committerAlan Pearce2021-03-11 14:59:21 +0100
commitcd2e1168a50070aa2d40cfbc59388111fdbaf251 (patch)
tree0b42afed1f893ee57412d0db67710bb083051c21 /user
parent9c977d26cf0dc321c5615ec1ca01b1153c2677b5 (diff)
downloadnixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.tar.lz
nixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.tar.zst
nixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.zip
javascript: rename node alias to nodejs
Diffstat (limited to 'user')
-rw-r--r--user/settings/javascript.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index e68aa6e4..07d2bfe5 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -1,19 +1,18 @@
 { config, pkgs, ... }:
 
 let
-  node = pkgs.nodejs-14_x;
+  nodejs = pkgs.nodejs-14_x;
 in
 {
   nixpkgs.overlays = [
     (self: super: {
       node2nixPackages = super.callPackage ../packages/node2nix {
-        nodejs = node;
+        inherit nodejs;
       };
     })
   ];
-
   home.packages = (with pkgs; [
-    node
+    nodejs
   ] ++ (
     if stdenv.isDarwin
     then