2019-01-01 11:16:24 -08:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
2019-01-26 10:12:08 -08:00
|
|
|
nixpkgs-pinned = import ../pkgs/nixpkgs-pinned.nix;
|
2019-01-26 05:26:33 -08:00
|
|
|
nixpkgs-unstable = import nixpkgs-pinned.nixpkgs-unstable { };
|
2019-01-01 11:16:24 -08:00
|
|
|
|
|
|
|
# Custom packages
|
2019-03-26 06:57:17 -07:00
|
|
|
nodeinfo = pkgs.callPackage ../pkgs/nodeinfo { };
|
|
|
|
banlist = pkgs.callPackage ../pkgs/banlist { };
|
2019-03-25 06:27:21 -07:00
|
|
|
lightning-charge = pkgs.callPackage ../pkgs/lightning-charge { };
|
|
|
|
nanopos = pkgs.callPackage ../pkgs/nanopos { };
|
|
|
|
spark-wallet = pkgs.callPackage ../pkgs/spark-wallet { };
|
2019-03-26 06:57:17 -07:00
|
|
|
electrs = pkgs.callPackage ../pkgs/electrs { };
|
|
|
|
liquidd = pkgs.callPackage ../pkgs/liquidd { };
|
2019-01-01 11:16:24 -08:00
|
|
|
in {
|
|
|
|
disabledModules = [ "services/security/tor.nix" ];
|
2019-01-02 07:17:57 -08:00
|
|
|
imports = [
|
2019-01-26 05:26:33 -08:00
|
|
|
(nixpkgs-pinned.nixpkgs-unstable + "/nixos/modules/services/security/tor.nix")
|
2019-01-02 07:17:57 -08:00
|
|
|
];
|
2019-01-01 11:16:24 -08:00
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
# Use bitcoin and clightning from unstable
|
2019-01-26 05:26:33 -08:00
|
|
|
bitcoin = nixpkgs-unstable.bitcoin.override { };
|
|
|
|
altcoins.bitcoind = nixpkgs-unstable.altcoins.bitcoind.override { };
|
|
|
|
clightning = nixpkgs-unstable.clightning.override { };
|
2019-01-01 11:16:24 -08:00
|
|
|
|
|
|
|
# Add custom packages
|
|
|
|
inherit nodeinfo;
|
2019-03-20 08:33:40 -07:00
|
|
|
inherit banlist;
|
2019-01-01 11:16:24 -08:00
|
|
|
inherit lightning-charge;
|
|
|
|
inherit nanopos;
|
|
|
|
inherit spark-wallet;
|
2019-01-02 13:40:53 -08:00
|
|
|
inherit electrs;
|
2019-01-02 03:24:55 -08:00
|
|
|
inherit liquidd;
|
2019-01-01 11:16:24 -08:00
|
|
|
};
|
|
|
|
}
|