mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 02:12:45 +03:00
Merge #238: Deprecate lightning-charge and nanopos
36c9c39d80
Deprecate lightning-charge and nanopos (Jonas Nick) Pull request description: ACKs for top commit: nixbitcoin: ACK36c9c39d80
Tree-SHA512: 3d69b8eb56f7afabfe13942e717f74d5ead76b6f6b6788130d86e0e5409d2408a66ddccd7c5b28b058388c365f8f5c9055d0a8f2fe68704d01e6ccdafb791690
This commit is contained in:
commit
bde530c4bf
@ -35,6 +35,9 @@ in {
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = [''
|
||||
The lightning-charge module is deprecated and will be removed soon.
|
||||
''];
|
||||
assertions = [
|
||||
{ assertion = config.services.clightning.enable;
|
||||
message = "lightning-charge requires clightning.";
|
||||
|
@ -72,6 +72,10 @@ in {
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = [''
|
||||
The nanopos module is deprecated and will be removed soon. You can use the
|
||||
btcpayserver module instead.
|
||||
''];
|
||||
assertions = [
|
||||
{ assertion = config.services.lightning-charge.enable;
|
||||
message = "nanopos requires lightning-charge.";
|
||||
|
Loading…
Reference in New Issue
Block a user