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