Design Principles

Our Nix Strategy

The P2Poolv2 team has decided to support using Nix and incorporate Nix Flakes into some of our core repositories. Nix is very popular in the Bitcoin developer community and is being rapidly adopted by AI infrastructure companies. It solves many problems in software development, supply chain management, and devops. For these reasons, we think using and supporting Nix is important.

The P2Poolv2 team has a mixture of experienced Nix developers, Nix beginners, and Nix skeptics. The same will be true of our users. For this reason, the use of Nix will remain optional and there will always be alternative methods of development, installation, and deployment.

Our intention is to start with the basics and keep things as simple as possible. We have reached consensus on a set of Design Principles to help keep us focused.

Design Principles

User Choice

Use of Nix will remain optional. Nix users should have the freedom to use a variety of tools and our Nix configurations will allow alternative tools where reasonably possible. However, not all tools will be documented or officially supported.

Provide Solutions

Our Nix efforts will be focused on providing nix-based solutions for specific problems.

Opinionated defaults

To keep things simple, our solutions will sometimes be opinionated, choose specific defaults, and/or not document all the options.

Upstream where possible

We will try to push P2Poolv2 Nix packages and services into upstream distributions such as Nixpkgs and Bitcoinix as much as possible.

Curation

The Nix ecosystem is large with many different tools and technologies, multiple subprojects, and a myriad of community and ecosystem projects. This P2Poolv2 development team has tried to focus on choosing some of the most useful, well-regarded, and well-maintained Nix tools and applied them to accomplish specific tasks.


Table of contents


Back to top

Copyright © 2024-2026 P2Poolv2 Developers. Distributed under the MIT or Apache-2.0 license.

Describes P2Poolv2 at commit dc5bb652 (2026-10-08).

This site uses Just the Docs, a documentation theme for Jekyll.