diff options
author | Alan Pearce | 2019-10-04 16:32:12 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-04 16:32:12 +0200 |
commit | 9dad0ca18a9b689a0e119b33e18fd5bf195c7071 (patch) | |
tree | bf376f6dfa5acc806225ff9950506685c5de4d67 /system/modules | |
parent | 40aab9ce6874a9d60319058c24b475ff67adf88e (diff) | |
download | nixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.tar.lz nixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.tar.zst nixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.zip |
Move javascript package setup to home-manager
Diffstat (limited to 'system/modules')
-rw-r--r-- | system/modules/development/javascript.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/system/modules/development/javascript.nix b/system/modules/development/javascript.nix deleted file mode 100644 index 1bdd4a4c..00000000 --- a/system/modules/development/javascript.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ config, pkgs, ... }: - -let - node = pkgs.unstable.nodejs-10_x; - npmPackages = pkgs.unstable.nodePackages_10_x; - node2nixPackages = import ../../packages/node2nix/default.nix { - pkgs = pkgs.unstable; - nodejs = node; - }; -in -{ environment.systemPackages = (with pkgs.unstable; [ - node - ] ++ ( - if stdenv.isDarwin - then - [ - ] - else - [ - # npm install may use any of these - binutils - gcc - gnumake - python2 - ] - )) ++ (with npmPackages; [ - node-gyp - node-gyp-build - node-pre-gyp - - tern - node2nix - nodemon - javascript-typescript-langserver - typescript-language-server - vscode-css-languageserver-bin - vscode-html-languageserver-bin - csslint - eslint_d - prettier - typescript - - node2nixPackages.bunyan - node2nixPackages.pino-pretty - node2nixPackages."pnpm-3.6.2" - node2nixPackages.prettier_d - node2nixPackages.dockerfile-language-server-nodejs - node2nixPackages.yaml-language-server - ]); -} |