Files
plebandClaude Opus 5.5 5d7289532b Drop pinned nixpkgs inputs and the local lndinit
Take every package from the consumer's pkgs: bitcoind, lnd, electrs and
lndinit (0.1.3 -> nixpkgs' version; gen-seed and init-wallet flags are
unchanged). The flake now has a single nixpkgs input. Removes
useVersionLockedPkgs, pinned.nix, nixpkgs-pinned.nix, shell.nix and the
update-flake helper that generated pinned.nix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:45:22 -08:00

28 lines
769 B
Nix

{
description = ''
NixOS modules for a Bitcoin node (bitcoind, lnd, electrs, mempool),
trimmed from fort-nix/nix-bitcoin.
'';
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = { self, nixpkgs }:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems
(system: f nixpkgs.legacyPackages.${system});
in {
nixosModules.default = ./modules/modules.nix;
overlays.default = final: prev: import ./pkgs { pkgs = final; };
packages = forAllSystems (pkgs: {
inherit (import ./pkgs { inherit pkgs; })
mempool-backend
mempool-frontend
mempool-rust-gbt
mempool-nginx-conf;
});
};
}