summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/javascript.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index 4c6fc6c2..a820b6c3 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -2,7 +2,6 @@
 
 let
   node = pkgs.nodejs-12_x;
-  node10Packages = pkgs.nodePackages;
 in
 { home.packages = (with pkgs; [
     node
@@ -18,9 +17,10 @@ in
     gcc
     python2
     ]
-  )) ++ (with node10Packages; [
+  )) ++ (with pkgs.nodePackages; [
     node2nix
     nodemon
+    dockerfile-language-server-nodejs
     javascript-typescript-langserver
     typescript-language-server
     vscode-css-languageserver-bin
@@ -28,17 +28,16 @@ in
     csslint
     eslint_d
     typescript
-  ]) ++ (with pkgs.node2nixPackages; [
-    pkgs.node2nixPackages."pnpm-5.4.11"
 
     node-gyp
     node-gyp-build
     node-pre-gyp
+  ]) ++ (with pkgs.node2nixPackages; [
+    pkgs.node2nixPackages."pnpm-5.4.11"
 
     stylelint
 
     pino-pretty
-    dockerfile-language-server-nodejs
   ]);
 
   home.sessionVariables = {