currently, nodeinfo has presets/secure-node.nix as a strict dependency as it requires onion-chef and the 'operatorName' option. and nix-bitcoin-webindex.nix has nodeinfo as a dependecy. so don't add nodeinfo and webindex to modules.nix because they will fail on standalone use.
37 lines
702 B
Nix
37 lines
702 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./bitcoind.nix
|
|
./clightning.nix
|
|
./lightning-charge.nix
|
|
./nanopos.nix
|
|
./liquid.nix
|
|
./spark-wallet.nix
|
|
./electrs.nix
|
|
./onion-chef.nix
|
|
./recurring-donations.nix
|
|
./hardware-wallets.nix
|
|
./lnd.nix
|
|
./secrets/secrets.nix
|
|
];
|
|
|
|
disabledModules = [ "services/networking/bitcoind.nix" ];
|
|
|
|
options = {
|
|
nix-bitcoin-services = lib.mkOption {
|
|
readOnly = true;
|
|
default = import ./nix-bitcoin-services.nix lib;
|
|
};
|
|
};
|
|
|
|
config = {
|
|
nixpkgs.overlays = [ (self: super: {
|
|
nix-bitcoin = let
|
|
pkgs = import ../pkgs { pkgs = super; };
|
|
in
|
|
pkgs // pkgs.pinned;
|
|
}) ];
|
|
};
|
|
}
|