diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/modules/dev/javascript.nix b/modules/dev/javascript.nix index f105fed..e9b4347 100644 --- a/modules/dev/javascript.nix +++ b/modules/dev/javascript.nix @@ -1,6 +1,9 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +let fromNpm = import ./npm { inherit pkgs; }; +in { home-manager.users.adrielus.home.packages = with pkgs; [ nodejs nodePackages.node2nix + fromNpm.pnpm ]; }