add nix-bitcoin pkgs namespace

Not polluting the main pkgs namespace with internal pkgs makes it
easier to integrate the nix-bitcoin modules into a larger config.

Also, by overriding the nix-bitcoin namespace, users can now easily set the
packages used by services that offer no explicit `package` option, like `clightning`.
This commit is contained in:
Erik Arvstedt 2019-11-27 14:04:21 +01:00
parent 6def181dbc
commit 760da232e0
No known key found for this signature in database
GPG key ID: 33312B944DD97846
12 changed files with 18 additions and 16 deletions

View file

@ -27,5 +27,7 @@ in {
disabledModules = [ "services/networking/bitcoind.nix" ];
nixpkgs.overlays = [ (self: super: allPackages super) ];
nixpkgs.overlays = [ (self: super: {
nix-bitcoin = allPackages super;
}) ];
}