btcpayserver: expand nbPkgs
in option defaults
Required by commit `nix-bitcoin.nix: add `defaultText` (automatic)`.
This commit is contained in:
parent
349f904e79
commit
f0096371bf
@ -18,9 +18,9 @@ let
|
|||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = if cfg.btcpayserver.lbtc then
|
default = if cfg.btcpayserver.lbtc then
|
||||||
nbPkgs.btcpayserver.override { altcoinSupport = true; }
|
config.nix-bitcoin.pkgs.btcpayserver.override { altcoinSupport = true; }
|
||||||
else
|
else
|
||||||
nbPkgs.btcpayserver;
|
config.nix-bitcoin.pkgs.btcpayserver;
|
||||||
description = "The package providing btcpayserver binaries.";
|
description = "The package providing btcpayserver binaries.";
|
||||||
};
|
};
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
@ -68,7 +68,7 @@ let
|
|||||||
};
|
};
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = nbPkgs.nbxplorer;
|
default = config.nix-bitcoin.pkgs.nbxplorer;
|
||||||
description = "The package providing nbxplorer binaries.";
|
description = "The package providing nbxplorer binaries.";
|
||||||
};
|
};
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
@ -102,7 +102,6 @@ let
|
|||||||
|
|
||||||
cfg = config.services;
|
cfg = config.services;
|
||||||
nbLib = config.nix-bitcoin.lib;
|
nbLib = config.nix-bitcoin.lib;
|
||||||
nbPkgs = config.nix-bitcoin.pkgs;
|
|
||||||
|
|
||||||
inherit (config.services) bitcoind liquidd;
|
inherit (config.services) bitcoind liquidd;
|
||||||
in {
|
in {
|
||||||
|
Loading…
Reference in New Issue
Block a user