2019-01-01 19:16:24 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
2019-01-26 18:06:25 +00:00
|
|
|
nixpkgs-pinned = import ../nixpkgs-pinned.nix;
|
2019-01-26 13:26:33 +00:00
|
|
|
nixpkgs-unstable = import nixpkgs-pinned.nixpkgs-unstable { };
|
2019-01-01 19:16:24 +00:00
|
|
|
|
|
|
|
# Custom packages
|
2019-01-26 18:06:25 +00:00
|
|
|
nodeinfo = (import ../pkgs/nodeinfo.nix) { inherit pkgs; };
|
|
|
|
lightning-charge = import ../pkgs/lightning-charge.nix { inherit pkgs; };
|
|
|
|
nanopos = import ../pkgs/nanopos.nix { inherit pkgs; };
|
|
|
|
spark-wallet = import ../pkgs/spark-wallet.nix { inherit pkgs; };
|
|
|
|
electrs = pkgs.callPackage (import ../pkgs/electrs.nix) { };
|
|
|
|
liquidd = pkgs.callPackage (import ../pkgs/liquidd.nix) { };
|
2019-01-01 19:16:24 +00:00
|
|
|
in {
|
|
|
|
disabledModules = [ "services/security/tor.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
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
# Use bitcoin and clightning from unstable
|
2019-01-26 13:26:33 +00:00
|
|
|
bitcoin = nixpkgs-unstable.bitcoin.override { };
|
|
|
|
altcoins.bitcoind = nixpkgs-unstable.altcoins.bitcoind.override { };
|
|
|
|
clightning = nixpkgs-unstable.clightning.override { };
|
2019-01-01 19:16:24 +00:00
|
|
|
|
|
|
|
# Add custom packages
|
|
|
|
inherit nodeinfo;
|
|
|
|
inherit lightning-charge;
|
|
|
|
inherit nanopos;
|
|
|
|
inherit spark-wallet;
|
2019-01-02 21:40:53 +00:00
|
|
|
inherit electrs;
|
2019-01-02 11:24:55 +00:00
|
|
|
inherit liquidd;
|
2019-01-01 19:16:24 +00:00
|
|
|
};
|
|
|
|
}
|