1
Fork 0

feat: including npm packages in nix-config!

This commit is contained in:
Matei Adriel 2020-04-08 21:15:37 +03:00
parent 668acbcbcf
commit 7ad5bf282b
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules

View file

@ -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
];
}