A collection of Nix packages and NixOS modules for securely deploying full-featured Bitcoin and Lightning nodes.
nix-bitcoin is a collection of Nix packages and NixOS modules designed to deploy and manage full-featured Bitcoin and Lightning Network nodes with a strong emphasis on security. It provides pre-configured, reproducible setups for services like bitcoind, clightning, lnd, Electrum servers, and merchant tools, simplifying the process of running a secure Bitcoin node.
Bitcoin enthusiasts, developers, and businesses looking to self-host secure Bitcoin infrastructure, including personal or merchant nodes, public Bitcoin services, or application backends that require reliable and hardened node deployments.
Developers choose nix-bitcoin for its security-by-default approach, leveraging NixOS's reproducibility and declarative configuration to create maintainable and hardened node setups. It abstracts away the complexity of securing Bitcoin services while offering extensive customization and a robust test framework.
A collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enforces Tor for outbound connections, netns isolation, and least-privilege users out of the box, as detailed in the security features, reducing attack surfaces.
Leverages NixOS's declarative configuration to ensure consistent node setups across environments, minimizing drift and easing maintenance.
Includes modules for bitcoind, multiple Lightning implementations (clightning, lnd), Electrum servers, and BTCPayServer, all configurable via Nix options.
Enhances Lightning nodes with plugins like clboss for automated management and rebalance for channel optimization, as listed in the features.
Provides duplicity backups and nodeinfo scripts for monitoring and recovery, simplifying operational tasks as highlighted in the documentation.
Requires understanding Nix language and module system for customization, which can be steep for users unfamiliar with NixOS, despite claims of no prior experience needed.
The README explicitly states it's 'still considered experimental,' which may deter critical production use despite some in-production deployments.
Tightly coupled with NixOS, limiting portability to other systems and reducing community support compared to broader Bitcoin node solutions.
Even with presets, initial setup involves complex NixOS configuration files, which can be time-consuming versus simpler alternatives.