Introduction
bitcoinix is a collection of Nix packages and NixOS modules for deploying full-featured Bitcoin and Lightning nodes with an emphasis on security.
Use it for personal or merchant wallets, public infrastructure or Bitcoin application backends, on dedicated hardware, in a virtual machine or in a container. You don’t need previous experience with Nix. bitcoinix is used in production.
bitcoinix is a community fork of nix-bitcoin, which
was archived in August 2026. The NixOS options keep the nix-bitcoin.* prefix, so existing
configurations keep working. See Migrate from nix-bitcoin to switch a
nix-bitcoin node to bitcoinix.
Features
- Bitcoin Core, with Core Lightning or LND
- Electrum servers (electrs, Fulcrum), the mempool explorer, BTCPay Server and the RTL web interface
- Unbeholden Wallet, a watch-only browser wallet for air-gapped signers
- Mobile wallet connections, e.g. ZEUS via Tor or WireGuard
- Helpers: nodeinfo, backups, and a non-root
operatoruser for the client tools
The README lists all services and plugins, the module options list their options.
Software versions
This release packages or pins the following software. Each version links to the project’s release notes, tag or source directory:
| Package | Version | Channel |
|---|---|---|
bitcoind | 32.1 | unstable |
btcpayserver | 2.4.7 | unstable |
cashu-cdk | 0.18.3 | unstable |
cashu-orchard | 1.12.1 | local |
charge-lnd | 0.3.2 | unstable |
clboss | 0.17.3 | unstable |
clightning | 26.06.10 | unstable |
clightning-plugins/clnrest | 0.2.0 | local |
clightning-plugins/currencyrate | 0.1.0 | local |
clightning-plugins/feeadjuster | 0.1.0-f0d33fd | local |
clightning-plugins/monitor | 0.1.0-f0d33fd | local |
clightning-plugins/rebalance | 0.1.0-f0d33fd | local |
clightning-plugins/zmq | 0.1.0-f0d33fd | local |
electrs | 0.12.1 | unstable |
extra-container | 1.0.1 | unstable |
fulcrum | 2.1.4 | unstable |
hwi | 3.2.0 | local |
krops | 1.31.1 | local |
lnd | 0.21.8-beta | unstable |
lndconnect | 0.2.1 | unstable |
lndinit | 0.1.38-beta | unstable |
mempool-backend | 3.3.2 | local |
mempool-frontend | 3.3.2 | local |
mempool-rust-gbt | 3.3.2 | local |
nbxplorer | 2.6.23 | unstable |
rtl | 0.15.17 | unstable |
trustedcoin | 0.8.7 | unstable |
unbeholden-lnurl | 0.4.0 | local |
unbeholden-wallet | 0.4.0 | local |
All nixpkgs packages come from the single nixpkgs input, which tracks nixos-unstable.
Channel local packages are built by bitcoinix from pinned sources, except hwi, which wraps
nixpkgs’ package. krops is the tool of the
legacy krops deployment. The flake NixOS module uses the locked unstable package set by default,
including for local builds. Non-flake module imports and
nix-bitcoin.useVersionLockedPkgs = false use your system’s unstable nixpkgs instead.
Overriding bitcoinix’s nixpkgs input also replaces its tested pin. In these setups,
service versions depend on your chosen revision; review the
package migration guidance before updating it.
Security
- Only the services you enable and their dependencies are installed.
- Each service runs as its own user and is confined with systemd sandboxing. Network namespace
isolation (
nix-bitcoin.netns-isolation) can further restrict which services can reach each other. - The
secure-node.nixpreset sends outgoing connections through Tor, adds onion services for incoming connections, enables the firewall, turns off SSH password login and replaces sudo with doas. - Release tags are signed by the maintainers.
fetch-releaseandupdate-nix-bitcoinin the deployment shell verify the signature before they use a release.
Where to start
- Hardware requirements: choose a machine for your node.
- Installation: set up a new node from scratch. To add bitcoinix to an existing NixOS configuration, start from the examples.
- Configuration and maintenance: customize services and allow external connections.
- Using services: connect wallets and manage the services.
- Upgrading: read this before you update bitcoinix.
- Release notes: review notable changes by release.
- FAQ
Some pages still come from nix-bitcoin and are being reviewed. If something is wrong or doesn’t work, please open an issue.