2019-11-27 05:04:23 -08:00
|
|
|
{ config, pkgs, lib, ... }:
|
2019-11-27 05:04:20 -08:00
|
|
|
|
2020-03-04 09:08:46 -08:00
|
|
|
{
|
2019-11-27 05:04:20 -08:00
|
|
|
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
|
2020-01-12 11:52:38 -08:00
|
|
|
./secrets/secrets.nix
|
2019-11-27 05:04:20 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
disabledModules = [ "services/networking/bitcoind.nix" ];
|
|
|
|
|
2019-11-27 05:04:23 -08:00
|
|
|
options = {
|
|
|
|
nix-bitcoin-services = lib.mkOption {
|
|
|
|
readOnly = true;
|
|
|
|
default = import ./nix-bitcoin-services.nix lib;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = {
|
|
|
|
nixpkgs.overlays = [ (self: super: {
|
2020-03-04 09:08:46 -08:00
|
|
|
nix-bitcoin = let
|
|
|
|
pkgs = import ../pkgs { pkgs = super; };
|
|
|
|
in
|
|
|
|
pkgs // pkgs.pinned;
|
2019-11-27 05:04:23 -08:00
|
|
|
}) ];
|
|
|
|
};
|
2019-11-27 05:04:20 -08:00
|
|
|
}
|