feat: including npm packages in nix-config!
This commit is contained in:
parent
668acbcbcf
commit
7ad5bf282b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
node_modules
|
|
@ -1,6 +1,9 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
|
let fromNpm = import ./npm { inherit pkgs; };
|
||||||
|
in {
|
||||||
home-manager.users.adrielus.home.packages = with pkgs; [
|
home-manager.users.adrielus.home.packages = with pkgs; [
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages.node2nix
|
nodePackages.node2nix
|
||||||
|
fromNpm.pnpm
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue