node2nix
CommunityTurn npm packages into reproducible Nix.
Authorolafkfreund
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Converts npm-based Node.js projects into declarative Nix expressions, enabling reproducible builds and consistent deployments.
Core Features & Use Cases
- Generate node-packages.nix, node-env.nix, and default.nix from a Node.js project.
- Declarative dependency management with Nix to replace ad-hoc npm installs.
- Use Case: Ideal for CI pipelines and multi-host environments to guarantee identical environments.
Quick Start
Use the tool in a Node.js project directory to generate Nix expressions. For example: node2nix -l package-lock.json Then build with nix-build -A package or install with nix-env -f default.nix -iA package.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: node2nix Download link: https://github.com/olafkfreund/nixos_config/archive/main.zip#node2nix Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.