Re-format with nixpkgs-fmt
1 file changed, 21 insertions(+), 20 deletions(-)
changed files
M user/settings/development/javascript.nix → user/settings/development/javascript.nix
@@ -1,10 +1,11 @@ +{ config +, pkgs +, ... +}: +let + nodejs = pkgs.nodejs-18_x; +in { - config, - pkgs, - ... -}: let - nodejs = pkgs.nodejs-18_x; -in { nixpkgs.overlays = [ (self: super: { node2nixPackages = super.callPackage ../../packages/node2nix {@@ -14,21 +15,21 @@ }) ]; home.packages = (with pkgs; - [ - nodejs + [ + nodejs + ] + ++ ( + if stdenv.isDarwin + then [ + ] + else [ + # npm install may use any of these + binutils + gnumake + gcc + python2 ] - ++ ( - if stdenv.isDarwin - then [ - ] - else [ - # npm install may use any of these - binutils - gnumake - gcc - python2 - ] - )) + )) ++ (with pkgs.nodePackages; [ node2nix nodemon