diff options
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/javascript.nix | 7 |
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 |