nix-bitcoin/modules/nix-bitcoin-pkgs.nix

21 lines
751 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
nixpkgs-pinned = import ../pkgs/nixpkgs-pinned.nix;
nixpkgs-unstable = import nixpkgs-pinned.nixpkgs-unstable { };
in {
disabledModules = [ "services/security/tor.nix" "services/networking/bitcoind.nix" ];
2019-01-02 15:17:57 +00:00
imports = [
(nixpkgs-pinned.nixpkgs-unstable + "/nixos/modules/services/security/tor.nix")
2019-01-02 15:17:57 +00:00
];
nixpkgs.overlays = [ (import ../overlay.nix) ];
nixpkgs.config.packageOverrides = pkgs: {
# Use bitcoin and clightning from unstable
bitcoin = nixpkgs-unstable.bitcoin.override { miniupnpc = null; };
2019-10-02 09:32:12 +00:00
blockchains.bitcoind = nixpkgs-unstable.bitcoind.override { miniupnpc = null; };
clightning = nixpkgs-unstable.clightning.override { };
2019-08-05 08:44:38 +00:00
lnd = nixpkgs-unstable.lnd.override { };
};
}