mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 12:06:33 +03:00
21 lines
722 B
Nix
21 lines
722 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
nixpkgs-pinned = import ../pkgs/nixpkgs-pinned.nix;
|
|
nixpkgs-unstable = import nixpkgs-pinned.nixpkgs-unstable { };
|
|
in {
|
|
disabledModules = [ "services/security/tor.nix" ];
|
|
imports = [
|
|
(nixpkgs-pinned.nixpkgs-unstable + "/nixos/modules/services/security/tor.nix")
|
|
];
|
|
|
|
nixpkgs.overlays = [ (import ../overlay.nix) ];
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
# Use bitcoin and clightning from unstable
|
|
bitcoin = nixpkgs-unstable.bitcoin.override { miniupnpc = null; };
|
|
altcoins.bitcoind = nixpkgs-unstable.altcoins.bitcoind.override { miniupnpc = null; };
|
|
clightning = nixpkgs-unstable.clightning.override { };
|
|
lnd = nixpkgs-unstable.lnd.override { };
|
|
};
|
|
}
|