All Projects → fort-nix → Nix Bitcoin

fort-nix / Nix Bitcoin

Licence: mit
A collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.

Projects that are alternatives of or similar to Nix Bitcoin

System
My system configuration
Stars: ✭ 94 (-38.96%)
Mutual labels:  nixos, nix
Docker
Dockerfiles to package Nix in a minimal docker container
Stars: ✭ 114 (-25.97%)
Mutual labels:  nixos, nix
Nix Deploy
Deploy software or an entire NixOS system configuration to another NixOS system
Stars: ✭ 111 (-27.92%)
Mutual labels:  nixos, nix
Nixos Configs
My NixOS configs
Stars: ✭ 86 (-44.16%)
Mutual labels:  nixos, nix
Nixos Manager
Manage your NixOS packages and configuration via a simple, intuitive UI
Stars: ✭ 128 (-16.88%)
Mutual labels:  nixos, nix
Vuizvui
Nix(OS) expressions used by the OpenLab and its members
Stars: ✭ 87 (-43.51%)
Mutual labels:  nixos, nix
Iohk Ops
NixOps deployment configuration for IOHK devops
Stars: ✭ 113 (-26.62%)
Mutual labels:  nixos, nix
Idempotent Desktop
🛸 NixOS, Xmonad, Neovim
Stars: ✭ 51 (-66.88%)
Mutual labels:  nixos, nix
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-17.53%)
Mutual labels:  nixos, nix
Micro Ci
A tiny CI server built around GitHub and Nix
Stars: ✭ 126 (-18.18%)
Mutual labels:  nixos, nix
Home Manager Template
A quick-start template for using home-manager in a more reproducible way.
Stars: ✭ 73 (-52.6%)
Mutual labels:  nixos, nix
Shabka
Shabka. Declaritive description of my network, workstations and servers.
Stars: ✭ 138 (-10.39%)
Mutual labels:  nixos, nix
Dotfiles
well-tailored NixOS & nix-darwin dotfiles
Stars: ✭ 63 (-59.09%)
Mutual labels:  nixos, nix
Appvm
Nix-based app VMs
Stars: ✭ 146 (-5.19%)
Mutual labels:  nixos, nix
Snabblab Nixos
NixOS configuration for the Snabb Lab
Stars: ✭ 53 (-65.58%)
Mutual labels:  nixos, nix
Nix Config
My NixOS configuration
Stars: ✭ 112 (-27.27%)
Mutual labels:  nixos, nix
Workshops
Stars: ✭ 47 (-69.48%)
Mutual labels:  nixos, nix
Nix Dotfiles
My personal nix and nixos configuration
Stars: ✭ 48 (-68.83%)
Mutual labels:  nixos, nix
Crate2nix
nix build file generator for rust crates
Stars: ✭ 123 (-20.13%)
Mutual labels:  nixos, nix
Nixos Weekly
NixOS Weekly Newsletter
Stars: ✭ 137 (-11.04%)
Mutual labels:  nixos, nix

nix-bitcoin logo


CirrusCI status GitHub tag (latest SemVer) GitHub commit activity GitHub contributors GitHub downloads


nix-bitcoin is a collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.

Overview

A Bitcoin node verifies the Bitcoin protocol and provides ways of interacting with the Bitcoin network. nix-bitcoin nodes are used for a variety of purposes and can serve as personal or merchant wallets, second layer public infrastructure and as backends for Bitcoin applications. In all cases, the aim is to provide security and privacy by default. However, while nix-bitcoin is used in production today, it is still considered experimental.

A full installation of nix-bitcoin is usually deployed either on a dedicated (virtual) machine or runs in a container and is online 24/7. Alternatively, the Nix packages, NixOS modules and configurations can be used independently and combined freely.

nix-bitcoin is built on top of Nix and NixOS which provide powerful abstractions to keep it highly customizable and maintainable. Testament to this are nix-bitcoin's robust security features and its potent test framework. However, running nix-bitcoin does not require any previous experience with the Nix ecosystem.

Examples

See here for examples.

Features

A configuration preset for setting up a secure node

  • All applications use Tor for outbound connections and support accepting inbound connections via onion services.

NixOS modules

Security

  • Simplicity: Only services you select in configuration.nix and their dependencies are installed, packages and dependencies are pinned, support for doas (sudo alternative), most packages are built from the NixOS stable channel, with a few exceptions that are built from the nixpkgs unstable channel, builds happen in a sandboxed environment, code is continuously reviewed and refined.
  • Integrity: Nix package manager, NixOS and packages can be built from source to reduce reliance on binary caches, nix-bitcoin merge commits are signed, all commits are approved by multiple nix-bitcoin developers, upstream packages are cryptographically verified where possible, we use this software ourselves.
  • Principle of Least Privilege: Services operate with least privileges; they each have their own user and are restricted further with systemd options, RPC whitelisting, and netns-isolation. There's a non-root user operator to interact with the various services.
  • Defense-in-depth: nix-bitcoin is built with a hardened kernel by default, services are confined through discretionary access control, Linux namespaces, dbus firewall and seccomp-bpf with continuous improvements.

Note that if the machine you're deploying from is insecure, there is nothing nix-bitcoin can do to protect itself.

Docs

Troubleshooting

If you are having problems with nix-bitcoin check the FAQ or submit an issue. There's also a #nix-bitcoin IRC channel on freenode. We are always happy to help.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].